mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 19:19:21 +03:00
Small fixes
This commit is contained in:
parent
4a19059217
commit
4db982cb9b
3 changed files with 0 additions and 11 deletions
|
|
@ -19,7 +19,6 @@ class ContactsAdminSettings
|
|||
constructor() {
|
||||
this.defautOptionsAfterRender = defautOptionsAfterRender;
|
||||
this.enableContacts = ko.observable(!!settingsGet('ContactsEnable'));
|
||||
this.contactsSharing = ko.observable(!!settingsGet('ContactsSharing'));
|
||||
this.contactsSync = ko.observable(!!settingsGet('ContactsSync'));
|
||||
|
||||
const
|
||||
|
|
@ -177,12 +176,6 @@ class ContactsAdminSettings
|
|||
});
|
||||
});
|
||||
|
||||
this.contactsSharing.subscribe((value) => {
|
||||
Remote.saveAdminConfig(null, {
|
||||
'ContactsSharing': boolToAjax(value)
|
||||
});
|
||||
});
|
||||
|
||||
this.contactsSync.subscribe((value) => {
|
||||
Remote.saveAdminConfig(null, {
|
||||
'ContactsSync': boolToAjax(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue