mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-05 06:22:52 +08:00
parent
0181d9645a
commit
e174248463
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class ContactsAdminSettings {
|
||||||
this.contactsTypes = ko.observableArray([]);
|
this.contactsTypes = ko.observableArray([]);
|
||||||
this.contactsTypesOptions = ko.computed(() =>
|
this.contactsTypesOptions = ko.computed(() =>
|
||||||
this.contactsTypes().map(value => {
|
this.contactsTypes().map(value => {
|
||||||
const disabled = supportedTypes.includes(value);
|
const disabled = !supportedTypes.includes(value);
|
||||||
return {
|
return {
|
||||||
'id': value,
|
'id': value,
|
||||||
'name': getTypeName(value) + (disabled ? ' (' + i18n('HINTS/NOT_SUPPORTED') + ')' : ''),
|
'name': getTypeName(value) + (disabled ? ' (' + i18n('HINTS/NOT_SUPPORTED') + ')' : ''),
|
||||||
|
|
Loading…
Reference in a new issue