mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Disable removal of rainloop.user script
This commit is contained in:
parent
ee37ad67bb
commit
76bc8aa107
3 changed files with 9 additions and 7 deletions
|
|
@ -13,6 +13,7 @@ class SieveScriptModel extends AbstractModel
|
|||
active: false,
|
||||
body: '',
|
||||
|
||||
exists: false,
|
||||
nameError: false,
|
||||
bodyError: false,
|
||||
deleteAccess: false,
|
||||
|
|
@ -72,6 +73,8 @@ class SieveScriptModel extends AbstractModel
|
|||
} else {
|
||||
script.filters([]);
|
||||
}
|
||||
script.canBeDeleted(0 !== json.name.indexOf('rainloop.user'));
|
||||
script.exists(true);
|
||||
script.hasChanges(false);
|
||||
}
|
||||
return script;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue