mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Remove Common/Enums Magics.*
This commit is contained in:
parent
382aef7ebb
commit
6541a1de7c
38 changed files with 135 additions and 219 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue