This is an automated email from the ASF dual-hosted git repository.
gongchao 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 a9de48674 [bugfix] fix the status filter in the monitoring center
(#2124)
a9de48674 is described below
commit a9de486744a076db42cc60d2b9fedb3d9986b9a9
Author: Kerwin Bryant <[email protected]>
AuthorDate: Mon Jun 24 11:08:25 2024 +0800
[bugfix] fix the status filter in the monitoring center (#2124)
---
.../app/routes/monitor/monitor-list/monitor-list.component.html | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git
a/web-app/src/app/routes/monitor/monitor-list/monitor-list.component.html
b/web-app/src/app/routes/monitor/monitor-list/monitor-list.component.html
index b147d0259..10b368c74 100644
--- a/web-app/src/app/routes/monitor/monitor-list/monitor-list.component.html
+++ b/web-app/src/app/routes/monitor/monitor-list/monitor-list.component.html
@@ -114,12 +114,13 @@
class="mobile-hide"
nzAllowClear
[nzPlaceHolder]="'monitor.status' | i18n"
+ (ngModelChange)="onFilterSearchMonitors()"
[(ngModel)]="filterStatus"
>
- <nz-option [nzLabel]="'monitor.status.all' | i18n" nzValue="9"></nz-option>
- <nz-option [nzLabel]="'monitor.status.up' | i18n" nzValue="1"></nz-option>
- <nz-option [nzLabel]="'monitor.status.down' | i18n"
nzValue="2"></nz-option>
- <nz-option [nzLabel]="'monitor.status.paused' | i18n"
nzValue="0"></nz-option>
+ <nz-option [nzLabel]="'monitor.status.all' | i18n"
[nzValue]="9"></nz-option>
+ <nz-option [nzLabel]="'monitor.status.up' | i18n"
[nzValue]="1"></nz-option>
+ <nz-option [nzLabel]="'monitor.status.down' | i18n"
[nzValue]="2"></nz-option>
+ <nz-option [nzLabel]="'monitor.status.paused' | i18n"
[nzValue]="0"></nz-option>
</nz-select>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]