From 35ca2195feb1c32633d88da5972cc5652bc3ebf2 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 28 Nov 2022 15:51:39 -0800 Subject: [PATCH] frontend mail rule validation Display non-field validation errors, hide action param field if not needed --- .../mail-rule-edit-dialog.component.html | 3 ++- .../mail-rule-edit-dialog.component.ts | 7 +++++++ src/documents/serialisers.py | 9 +++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html index ef9a5bc47..a8a476c28 100644 --- a/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html +++ b/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html @@ -22,7 +22,7 @@