Skip to content

[BUG] Edit tooltip title not displaying correctly based on threshold type #4093

@mingzeh

Description

@mingzeh

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In the Threshold page, the edit button tooltip always shows "Edit Periodic Threshold", regardless of the actual threshold type.

Image

Expected Behavior

The edit button tooltip should display the corresponding text based on the threshold type: show "Edit Realtime Threshold" for realtime thresholds, and "Edit Periodic Threshold" for periodic thresholds.

Steps To Reproduce

No response

Environment

HertzBeat version(s):v1.8.0

Debug logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions