From e9548a4321957ccf26782ca6a6435db35a7d4dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=B4=E6=99=96?= <2689991790@qq.com> Date: Tue, 11 Jun 2024 18:00:20 +0800 Subject: [PATCH 1/2] fix some bugs --- ui/src/pages/Alert/AlarmFilter/index.tsx | 9 ++++++-- ui/src/pages/Alert/Rules/RuleDrawerForm.tsx | 18 ++++----------- ui/src/pages/Alert/Rules/index.tsx | 3 ++- .../pages/Alert/Shield/ShieldDrawerForm.tsx | 3 +++ ui/src/pages/Alert/Shield/index.tsx | 1 + .../Subscriptions/SubscripDrawerForm.tsx | 3 +++ ui/src/pages/Alert/Subscriptions/index.tsx | 3 +++ ui/src/pages/Alert/helper.ts | 23 ++++++++++++++++--- ui/src/type/alert.d.ts | 6 +++-- 9 files changed, 47 insertions(+), 22 deletions(-) diff --git a/ui/src/pages/Alert/AlarmFilter/index.tsx b/ui/src/pages/Alert/AlarmFilter/index.tsx index b9a896fbf..51676f2f8 100644 --- a/ui/src/pages/Alert/AlarmFilter/index.tsx +++ b/ui/src/pages/Alert/AlarmFilter/index.tsx @@ -227,6 +227,7 @@ export default function AlarmFilter({ form, type, depend }: AlarmFilterProps) { >