Merge pull request #3291 from FinnStutzenstein/userImportFix

Fix import on not full populated csv files
This commit is contained in:
Norman Jäckel 2017-06-12 22:04:56 +02:00 committed by GitHub
commit d1c86e8b0d

View File

@ -1001,6 +1001,8 @@ angular.module('OpenSlidesApp.users.site', [
// for template:
user.groupsNotToCreate = _.difference(user.groups, user.groupsToCreate);
} else {
user.groups = [];
}
user.is_active = (user.is_active !== undefined && user.is_active === '1');
user.is_present = (user.is_present !== undefined && user.is_present === '1');