From c88ccc44303803b0ad3f13f6e4444d959c41713f Mon Sep 17 00:00:00 2001 From: zhangyu Date: Wed, 7 Sep 2022 11:29:55 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2179=20fix=EF=BC=9Aquick=20silence=20?= =?UTF-8?q?=E5=8F=96=E6=B6=88=20nz=5Fagent=5Fid=20=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/mixin/dataList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/common/mixin/dataList.js b/nezha-fronted/src/components/common/mixin/dataList.js index 450a21f60..f6df9565e 100644 --- a/nezha-fronted/src/components/common/mixin/dataList.js +++ b/nezha-fronted/src/components/common/mixin/dataList.js @@ -303,7 +303,7 @@ export default { let labels = this.$loadsh.cloneDeep(row.labels) if (typeof labels === 'string') labels = JSON.parse(labels) this.objectSilence.matchers = [] - const filterArr = ['alertname', 'severity_id', 'severity', 'rule_type'] + const filterArr = ['alertname', 'severity_id', 'severity', 'rule_type', 'nz_agent_id'] Object.keys(labels).forEach((key, i) => { if (filterArr.indexOf(key) != -1) { return