mailbox: show quota instead of disk size

fix quota events too
This commit is contained in:
Girish Ramakrishnan
2022-08-21 09:40:14 +02:00
parent 5b97eae09a
commit d305d93ad8
8 changed files with 33 additions and 7 deletions
+1 -1
View File
@@ -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); });
});
});
});