This is an automated email from the ASF dual-hosted git repository.
liutianyou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
The following commit(s) were added to refs/heads/master by this push:
new 173733784 [type:fix] fix threshold rule modal not clear bug (#2340)
173733784 is described below
commit 173733784b1d4979a019c830caff95495c07cf63
Author: aias00 <[email protected]>
AuthorDate: Tue Jul 23 18:50:14 2024 +0800
[type:fix] fix threshold rule modal not clear bug (#2340)
---
web-app/src/app/routes/alert/alert-setting/alert-setting.component.ts | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/web-app/src/app/routes/alert/alert-setting/alert-setting.component.ts
b/web-app/src/app/routes/alert/alert-setting/alert-setting.component.ts
index 7975bccfb..8dac902cc 100644
--- a/web-app/src/app/routes/alert/alert-setting/alert-setting.component.ts
+++ b/web-app/src/app/routes/alert/alert-setting/alert-setting.component.ts
@@ -644,6 +644,7 @@ export class AlertSettingComponent implements OnInit {
}
onManageModalCancel() {
+ this.cascadeValues = [];
this.isExpr = false;
this.resetQbData({ condition: 'and', rules: [] });
this.isManageModalVisible = false;
@@ -698,6 +699,7 @@ export class AlertSettingComponent implements OnInit {
.subscribe(
message => {
if (message.code === 0) {
+ this.cascadeValues = [];
this.isManageModalVisible = false;
this.notifySvc.success(this.i18nSvc.fanyi('common.notify.new-success'), '');
this.loadAlertDefineTable();
@@ -722,6 +724,7 @@ export class AlertSettingComponent implements OnInit {
.subscribe(
message => {
if (message.code === 0) {
+ this.cascadeValues = [];
this.isManageModalVisible = false;
this.notifySvc.success(this.i18nSvc.fanyi('common.notify.edit-success'), '');
this.loadAlertDefineTable();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]