From 334da7c3ece9ad526d14bbda7a93d11d3cd393fc Mon Sep 17 00:00:00 2001 From: Urban Rotnik Date: Fri, 8 May 2020 18:18:14 +0200 Subject: [PATCH] Fix for assign view --- app/assets/javascripts/my_modules/repositories.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/my_modules/repositories.js b/app/assets/javascripts/my_modules/repositories.js index 64c1fde4d..0c4cad96d 100644 --- a/app/assets/javascripts/my_modules/repositories.js +++ b/app/assets/javascripts/my_modules/repositories.js @@ -182,7 +182,9 @@ var MyModuleRepositories = (function() { stateLoadCallback: function(settings, callback) { var loadStateUrl = $(tableContainer).data('load-state-url'); $.post(loadStateUrl, function(json) { - json.state.columns[0].visible = false; + if (!options.assign_mode) { + json.state.columns[0].visible = false; + } callback(json.state); }); },