Skip to content

Commit

Permalink
Resolve issue #11
Browse files Browse the repository at this point in the history
Actually the disabled was reversed
  • Loading branch information
the-djmaze authored Sep 23, 2020
1 parent 0181d96 commit e174248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/Settings/Admin/Contacts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') + ')' : ''),
Expand Down

0 comments on commit e174248

Please sign in to comment.