This is an automated email from the ASF dual-hosted git repository.
shown 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 27175ef3e [bugfix] fix status page unknowing status value (#2689)
27175ef3e is described below
commit 27175ef3ef0e3230ad8e3e5123ad5219bdee8350
Author: aias00 <[email protected]>
AuthorDate: Sun Sep 8 16:32:10 2024 +0800
[bugfix] fix status page unknowing status value (#2689)
---
web-app/src/app/pojo/StatusPageHistory.ts | 2 +-
web-app/src/app/routes/status-public/status-public.component.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web-app/src/app/pojo/StatusPageHistory.ts
b/web-app/src/app/pojo/StatusPageHistory.ts
index 3fb02e971..5c3fccc6a 100644
--- a/web-app/src/app/pojo/StatusPageHistory.ts
+++ b/web-app/src/app/pojo/StatusPageHistory.ts
@@ -24,7 +24,7 @@ export class StatusPageHistory {
timestamp!: number;
uptime!: number;
abnormal!: number;
- unknown!: number;
+ unknowing!: number;
normal!: number;
creator!: string;
modifier!: string;
diff --git a/web-app/src/app/routes/status-public/status-public.component.html
b/web-app/src/app/routes/status-public/status-public.component.html
index a9ac2b7ac..f06832904 100755
--- a/web-app/src/app/routes/status-public/status-public.component.html
+++ b/web-app/src/app/routes/status-public/status-public.component.html
@@ -119,7 +119,7 @@
<p>Uptime {{ (100 * historyItem.uptime).toFixed(2) }}%</p>
<p>{{ 'status.component.state.0' | i18n }} {{
historyItem.normal }}s</p>
<p>{{ 'status.component.state.1' | i18n }} {{
historyItem.abnormal }}s</p>
- <p>{{ 'status.component.state.2' | i18n }} {{
historyItem.unknown }}s</p>
+ <p>{{ 'status.component.state.2' | i18n }} {{
historyItem.unknowing }}s</p>
</div>
</ng-template>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]