[editor] Fix: When match_message is cleared, remove it completely

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-01-31 19:12:38 +01:00
parent 5753bfc115
commit b29688292d
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -1048,6 +1048,8 @@ export default {
return true
})),
})),
match_message: this.models.rule.match_message === '' ? null : this.models.rule.match_message,
}
if (obj.cooldown) {