mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Support \noinferiors to disallow creating subfolders
This commit is contained in:
parent
d74407f36b
commit
5cdbba8da0
3 changed files with 8 additions and 12 deletions
|
|
@ -548,6 +548,8 @@ export class FolderModel extends AbstractModel {
|
|||
|
||||
folder.isSubscribed(attr('\\subscribed'));
|
||||
folder.exists = !attr('\\nonexistent');
|
||||
folder.subFolders.allow = !attr('\\noinferiors');
|
||||
// folder.subFolders.exist = attr('\\haschildren') || !attr('\\hasnochildren');
|
||||
folder.selectable(folder.exists && !attr('\\noselect'));
|
||||
|
||||
type && 'mail' != type && folder.kolabType(type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue