mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Improved Kolab AddressBook/Contacts
This commit is contained in:
parent
5c9b7d7000
commit
824311937a
42 changed files with 299 additions and 54 deletions
|
|
@ -6,7 +6,7 @@ import { UNUSED_OPTION_VALUE } from 'Common/Consts';
|
|||
import { forEachObjectEntry } from 'Common/Utils';
|
||||
import { addObservablesTo, addSubscribablesTo, addComputablesTo } from 'External/ko';
|
||||
import { getFolderInboxName, getFolderFromCacheList } from 'Common/Cache';
|
||||
import { Settings } from 'Common/Globals';
|
||||
import { Settings, SettingsCapa } from 'Common/Globals';
|
||||
//import Remote from 'Remote/User/Fetch'; // Circular dependency
|
||||
|
||||
export const FolderUserStore = new class {
|
||||
|
|
@ -117,6 +117,10 @@ export const FolderUserStore = new class {
|
|||
return this.capabilities().includes(name);
|
||||
}
|
||||
|
||||
allowKolab() {
|
||||
return FolderUserStore.hasCapability('METADATA') && SettingsCapa('Kolab');
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Array}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue