ui: dissallow taint for clickmap thumbnails

This commit is contained in:
nick-delirium 2025-02-20 12:18:03 +01:00
parent 6c7880efbc
commit f8a40fd875
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -36,7 +36,7 @@ const CardViewMenu = () => {
key: 'alert',
label: 'Set Alerts',
icon: <BellIcon size={16} />,
disabled: !widget.exists() || widget.metricType === 'predefined',
disabled: !widget.exists() || widget.metricType !== 'timeseries',
onClick: showAlertModal,
},
{