Fix section and user assignment to groups

This commit is contained in:
Kenn Jacobsen
2019-10-11 12:39:22 +02:00
committed by Sebastiaan Janssen
parent b0d7bdaa77
commit 0c1b56e671

View File

@@ -105,6 +105,7 @@
var sectionPicker = {
selection: currentSelection,
submit: function (model) {
vm.userGroup.sections = model.selection;
editorService.close();
},
close: function () {
@@ -168,7 +169,8 @@
angular.copy(vm.userGroup.users, currentSelection);
var userPicker = {
selection: currentSelection,
submit: function () {
submit: function (model) {
vm.userGroup.users = model.selection;
editorService.close();
},
close: function () {