diff --git a/src/views/email.html b/src/views/email.html index 68211c610..14fd1e249 100644 --- a/src/views/email.html +++ b/src/views/email.html @@ -114,7 +114,7 @@
- +
diff --git a/src/views/email.js b/src/views/email.js index 4b2f001b0..fad9e4e98 100644 --- a/src/views/email.js +++ b/src/views/email.js @@ -763,6 +763,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio if (error) return console.error('Unable to get user listing.', error); // ensure we have a display value available + $scope.owners.push({ header: true, display: 'Users' }); users.forEach(function (u) { $scope.owners.push({ display: u.username || u.email, id: u.id, type: 'user' }); }); @@ -770,6 +771,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio Client.getGroups(function (error, groups) { if (error) return console.error('Unable to get group listing.', error); + $scope.owners.push({ header: true, display: 'Groups' }); groups.forEach(function (g) { $scope.owners.push({ display: g.name, id: g.id, type: 'group' }); });