From e1742484632125eebfd38840f2473fafce304bf5 Mon Sep 17 00:00:00 2001 From: the-djmaze <3752035+the-djmaze@users.noreply.github.com> Date: Wed, 23 Sep 2020 22:31:19 +0200 Subject: [PATCH] Resolve issue #11 Actually the disabled was reversed --- dev/Settings/Admin/Contacts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/Settings/Admin/Contacts.js b/dev/Settings/Admin/Contacts.js index 400dc6638f..ae2e1d435b 100644 --- a/dev/Settings/Admin/Contacts.js +++ b/dev/Settings/Admin/Contacts.js @@ -49,7 +49,7 @@ class ContactsAdminSettings { this.contactsTypes = ko.observableArray([]); this.contactsTypesOptions = ko.computed(() => this.contactsTypes().map(value => { - const disabled = supportedTypes.includes(value); + const disabled = !supportedTypes.includes(value); return { 'id': value, 'name': getTypeName(value) + (disabled ? ' (' + i18n('HINTS/NOT_SUPPORTED') + ')' : ''),