mailbox: show quota instead of disk size
fix quota events too
This commit is contained in:
+1
-1
@@ -436,7 +436,7 @@ angular.module('Application').controller('EmailsController', ['$scope', '$locati
|
||||
if (error) return console.error('Failed to fetch usage for domain', domain.domain, error);
|
||||
|
||||
domain.usage = 0;
|
||||
Object.keys(usage).forEach(function (m) { domain.usage += usage[m].size; });
|
||||
Object.keys(usage).forEach(function (m) { domain.usage += (usage[m].quotaValue * 1024); });
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user