Fix import on not full populated csv files

This commit is contained in:
FinnStutzenstein 2017-06-09 14:57:06 +02:00
parent c5be76ace2
commit 8cb6342e73

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');