Add cmd interface

Code refactoring
This commit is contained in:
RainLoop Team 2016-08-24 01:17:50 +03:00
parent e6e1a19477
commit 962391e2a0
23 changed files with 180 additions and 223 deletions

View file

@ -71,8 +71,8 @@ class ContactsAdminSettings
this.contactsType = ko.observable('');
this.mainContactsType = ko.computed({
'read': this.contactsType,
'write': (value) => {
read: this.contactsType,
write: (value) => {
if (value !== this.contactsType())
{
if (-1 < inArray(value, supportedTypes))