mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Add cmd interface
Code refactoring
This commit is contained in:
parent
e6e1a19477
commit
962391e2a0
23 changed files with 180 additions and 223 deletions
|
|
@ -1,16 +1,17 @@
|
|||
|
||||
import ko from 'ko';
|
||||
import {Magics} from 'Common/Enums';
|
||||
import * as Settings from 'Storage/Settings';
|
||||
|
||||
class ContactUserStore
|
||||
{
|
||||
constructor() {
|
||||
this.contacts = ko.observableArray([]);
|
||||
this.contacts.loading = ko.observable(false).extend({'throttle': 200});
|
||||
this.contacts.importing = ko.observable(false).extend({'throttle': 200});
|
||||
this.contacts.syncing = ko.observable(false).extend({'throttle': 200});
|
||||
this.contacts.exportingVcf = ko.observable(false).extend({'throttle': 200});
|
||||
this.contacts.exportingCsv = ko.observable(false).extend({'throttle': 200});
|
||||
this.contacts.loading = ko.observable(false).extend({throttle: Magics.Time200ms});
|
||||
this.contacts.importing = ko.observable(false).extend({throttle: Magics.Time200ms});
|
||||
this.contacts.syncing = ko.observable(false).extend({throttle: Magics.Time200ms});
|
||||
this.contacts.exportingVcf = ko.observable(false).extend({throttle: Magics.Time200ms});
|
||||
this.contacts.exportingCsv = ko.observable(false).extend({throttle: Magics.Time200ms});
|
||||
|
||||
this.allowContactsSync = ko.observable(false);
|
||||
this.enableContactsSync = ko.observable(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue