Small fixes

This commit is contained in:
RainLoop 2017-09-20 22:58:57 +03:00
parent 4a19059217
commit 4db982cb9b
3 changed files with 0 additions and 11 deletions

View file

@ -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)