Remove Common/Enums Magics.*

This commit is contained in:
djmaze 2020-08-13 22:58:41 +02:00
parent 382aef7ebb
commit 6541a1de7c
38 changed files with 135 additions and 219 deletions

View file

@ -1,7 +1,5 @@
import ko from 'ko';
import { Magics } from 'Common/Enums';
class QuotaUserStore {
constructor() {
this.quota = ko.observable(0);
@ -20,8 +18,8 @@ class QuotaUserStore {
* @param {number} usage
*/
populateData(quota, usage) {
this.quota(quota * Magics.BitLength1024);
this.usage(usage * Magics.BitLength1024);
this.quota(quota * 1024);
this.usage(usage * 1024);
}
}