Add email view summary

This commit is contained in:
Girish Ramakrishnan
2020-02-20 12:35:51 -08:00
parent 5fd575a217
commit af8bb1f0e8
3 changed files with 34 additions and 2 deletions
+1 -1
View File
@@ -394,7 +394,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
Client.getMailUsage($scope.domain.domain, function (error, usage) {
if (error) return callback(error);
$scope.mailboxes.mailboxes.forEach(function (m) { m.usage = usage[m.name].size || 0; });
$scope.mailboxes.mailboxes.forEach(function (m) { m.usage = usage[m.name + '@' + m.domain].size || 0; });
callback();
});