Merge pull request #3291 from FinnStutzenstein/userImportFix
Fix import on not full populated csv files
This commit is contained in:
commit
d1c86e8b0d
@ -1001,6 +1001,8 @@ angular.module('OpenSlidesApp.users.site', [
|
|||||||
|
|
||||||
// for template:
|
// for template:
|
||||||
user.groupsNotToCreate = _.difference(user.groups, user.groupsToCreate);
|
user.groupsNotToCreate = _.difference(user.groups, user.groupsToCreate);
|
||||||
|
} else {
|
||||||
|
user.groups = [];
|
||||||
}
|
}
|
||||||
user.is_active = (user.is_active !== undefined && user.is_active === '1');
|
user.is_active = (user.is_active !== undefined && user.is_active === '1');
|
||||||
user.is_present = (user.is_present !== undefined && user.is_present === '1');
|
user.is_present = (user.is_present !== undefined && user.is_present === '1');
|
||||||
|
Loading…
Reference in New Issue
Block a user