Skip to content

Commit 7cd2037

Browse files
committed
fix: support realtime metric and log edit tooltip
1 parent 4680ae5 commit 7cd2037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-app/src/app/routes/alert/alert-setting/alert-setting.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1820,7 +1820,7 @@ export class AlertSettingComponent implements OnInit {
18201820
* Get the edit tooltip title i18n key based on the data type.
18211821
*/
18221822
getEditTooltipTitle(data: any): string {
1823-
if (data.type === 'realtime') {
1823+
if (data.type === 'realtime_metric' || data.type === 'realtime_log') {
18241824
return 'alert.setting.edit.realtime';
18251825
} else {
18261826
return 'alert.setting.edit.periodic';

0 commit comments

Comments
 (0)