diff --git a/group_manager/static/group_manager/js/group_manager.js b/group_manager/static/group_manager/js/group_manager.js index 26590d16..bea7eed7 100644 --- a/group_manager/static/group_manager/js/group_manager.js +++ b/group_manager/static/group_manager/js/group_manager.js @@ -490,6 +490,13 @@ async function processImportedRow (row) { catIdx = catIdx + 1 } $('#group-list').html(html) + + // Get the selected group if exists and reselect it to get the changes. + // If no active group, no group is selected. + const activeGroupName = Yoda.storage.session.get('selected-group') + if (activeGroupName) { + Yoda.groupManager.selectGroup(activeGroupName) + } }) } }