From c5a80fa4c23c1b9060960e68aeb6cc06986f2594 Mon Sep 17 00:00:00 2001 From: sbgap Date: Mon, 25 Nov 2024 13:29:01 +0100 Subject: [PATCH] feat: add all/and and any/or function for tags in notification rules --- src/components/NotificationRuleList.vue | 156 ++++++++++++++++++------ 1 file changed, 119 insertions(+), 37 deletions(-) diff --git a/src/components/NotificationRuleList.vue b/src/components/NotificationRuleList.vue index a7153de1..ba9770ae 100644 --- a/src/components/NotificationRuleList.vue +++ b/src/components/NotificationRuleList.vue @@ -497,32 +497,84 @@ - - - + add + add + + + + + clear + + clear + + + + + + + + + + + + + + + + + + delete + + + + + + + + @@ -826,16 +878,46 @@ {{ props.item.event }} {{ props.item.group }} - - - label - {{ tag }} - +
+ + + + AND: + + {{ severity }} + + + + OR: + + {{ severity }} + + + + + +
!!v || i18n.t('Required')