mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Cleanup and improved handling of Sieve scripts
This commit is contained in:
parent
61908dd0c0
commit
58cd2fcacb
14 changed files with 28 additions and 802 deletions
|
|
@ -294,8 +294,9 @@ export class SieveScriptModel extends AbstractModel
|
|||
return {
|
||||
name: this.name(),
|
||||
active: this.active() ? 1 : 0,
|
||||
body: this.body(),
|
||||
filters: this.filters.map(item => item.toJson())
|
||||
body: this.body()
|
||||
// body: this.allowFilters() ? this.body() : this.filtersToRaw()
|
||||
// filters: this.filters.map(item => item.toJson())
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue