mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Improved Kolab AddressBook/Contacts
This commit is contained in:
parent
5c9b7d7000
commit
824311937a
42 changed files with 299 additions and 54 deletions
|
|
@ -3,7 +3,6 @@ import { koComputable } from 'External/ko';
|
|||
|
||||
import { Notification } from 'Common/Enums';
|
||||
import { FolderMetadataKeys } from 'Common/EnumsUser';
|
||||
import { SettingsCapa } from 'Common/Globals';
|
||||
import { getNotification } from 'Common/Translator';
|
||||
|
||||
import { setFolder, getFolderFromCacheList, removeFolderFromCacheList } from 'Common/Cache';
|
||||
|
|
@ -26,7 +25,7 @@ const folderForDeletion = ko.observable(null).askDeleteHelper();
|
|||
|
||||
export class UserSettingsFolders /*extends AbstractViewSettings*/ {
|
||||
constructor() {
|
||||
this.showKolab = koComputable(() => FolderUserStore.hasCapability('METADATA') && SettingsCapa('Kolab'));
|
||||
this.showKolab = FolderUserStore.allowKolab();
|
||||
this.defaultOptionsAfterRender = defaultOptionsAfterRender;
|
||||
this.kolabTypeOptions = ko.observableArray();
|
||||
let i18nFilter = key => i18n('SETTINGS_FOLDERS/TYPE_' + key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue