Skip to content

Commit ae659a3

Browse files
authored
YDA-6104: update group after csv import fix role changes in group manager
1 parent 304bf66 commit ae659a3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

group_manager/static/group_manager/js/group_manager.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,13 @@ async function processImportedRow (row) {
490490
catIdx = catIdx + 1
491491
}
492492
$('#group-list').html(html)
493+
494+
// Get the selected group if exists and reselect it to get the changes.
495+
// If no active group, no group is selected.
496+
const activeGroupName = Yoda.storage.session.get('selected-group')
497+
if (activeGroupName) {
498+
Yoda.groupManager.selectGroup(activeGroupName)
499+
}
493500
})
494501
}
495502
}

0 commit comments

Comments
 (0)