mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
New logic for storage provider (breaking changes)
This commit is contained in:
parent
44566aad4b
commit
51666d7c7e
19 changed files with 453 additions and 297 deletions
|
|
@ -70,8 +70,6 @@
|
|||
this.name = ko.observable('');
|
||||
this.name.focused = ko.observable(false);
|
||||
|
||||
this.allowSieve = CapaAdminStore.sieve;
|
||||
|
||||
this.imapServer = ko.observable('');
|
||||
this.imapPort = ko.observable('' + Consts.Values.ImapDefaulPort);
|
||||
this.imapSecure = ko.observable(Enums.ServerSecure.None);
|
||||
|
|
@ -91,6 +89,10 @@
|
|||
|
||||
this.enableSmartPorts = ko.observable(false);
|
||||
|
||||
this.allowSieve = ko.computed(function () {
|
||||
return CapaAdminStore.filters() && CapaAdminStore.sieve();
|
||||
}, this);
|
||||
|
||||
this.headerText = ko.computed(function () {
|
||||
var sName = this.name();
|
||||
return this.edit() ? 'Edit Domain "' + sName + '"' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue