mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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…
Add table
Add a link
Reference in a new issue