Convert user stores to single object instances

Removed unused ContactUserStore.exportingCsv and ContactUserStore.exportingVcf
This commit is contained in:
djmaze 2021-03-10 22:41:35 +01:00
parent 914c6e8d14
commit 6a454ec624
46 changed files with 671 additions and 710 deletions

View file

@ -1,6 +1,6 @@
import ko from 'ko';
class QuotaUserStore {
export const QuotaUserStore = new class {
constructor() {
this.quota = ko.observable(0);
this.usage = ko.observable(0);
@ -21,6 +21,4 @@ class QuotaUserStore {
this.quota(quota * 1024);
this.usage(usage * 1024);
}
}
export default new QuotaUserStore();
};