mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Bugfix: filters toggle failed because it was no observable
This commit is contained in:
parent
c7d6426c88
commit
d4d6d73306
2 changed files with 3 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ class SieveScriptPopupView extends AbstractViewNext {
|
|||
saveError: false,
|
||||
saveErrorText: '',
|
||||
rawActive: false,
|
||||
allowToggle: false,
|
||||
script: null
|
||||
});
|
||||
|
||||
|
|
@ -130,6 +131,7 @@ class SieveScriptPopupView extends AbstractViewNext {
|
|||
onShow(oScript) {
|
||||
this.script(oScript);
|
||||
this.rawActive(!oScript.allowFilters());
|
||||
this.allowToggle(oScript.allowFilters());
|
||||
this.saveError(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue