Fix crash when no emails received yet
This commit is contained in:
@@ -702,7 +702,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
|
||||
|
||||
var u = $scope.diskUsage[m.name + '@' + m.domain]; // this is unset when no emails have been received yet
|
||||
m.usage = (u && u.quotaValue * 1024) || 0;
|
||||
m.limit = u.quotaLimit * 1024;
|
||||
m.limit = (u && u.quotaLimit * 1024) || 0;
|
||||
});
|
||||
|
||||
$scope.mailboxes.mailboxes = mailboxes;
|
||||
|
||||
Reference in New Issue
Block a user