Skip to content

Commit

Permalink
YDA-6104: update group after csv import fix role changes in group man…
Browse files Browse the repository at this point in the history
…ager
  • Loading branch information
leonidastri authored Jan 16, 2025
1 parent 304bf66 commit ae659a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions group_manager/static/group_manager/js/group_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
})
}
}
Expand Down

0 comments on commit ae659a3

Please sign in to comment.