Fix mailbox import

This commit is contained in:
Girish Ramakrishnan
2022-02-17 17:50:47 -08:00
parent 2d27a92587
commit f2c6d45c1c
4 changed files with 57 additions and 22 deletions

View File

@@ -145,7 +145,7 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
var items = line.split(',');
if (items.length !== 5) {
$scope.userImport.error = { file: 'Line ' + (i+1) + ' has wrong column count. Expecting 5' };
break;
return;
}
users.push({
username: items[0].trim(),