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 50d7548748 [fix] support realtime metric and log edit tooltip (#4110)
50d7548748 is described below

commit 50d7548748bbf714c0eaf9693e22df090523ee6d
Author: P_Peaceful <[email protected]>
AuthorDate: Sun Apr 5 23:42:25 2026 +0800

    [fix] support realtime metric and log edit tooltip (#4110)
    
    Co-authored-by: Tomsun28 <[email protected]>
---
 web-app/src/app/routes/alert/alert-setting/alert-setting.component.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ea8e7bc0f5..ef3770377e 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
@@ -1820,7 +1820,7 @@ export class AlertSettingComponent implements OnInit {
    * Get the edit tooltip title i18n key based on the data type.
    */
   getEditTooltipTitle(data: any): string {
-    if (data.type === 'realtime') {
+    if (data.type === 'realtime_metric' || data.type === 'realtime_log') {
       return 'alert.setting.edit.realtime';
     } else {
       return 'alert.setting.edit.periodic';


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to