From f8a40fd87578d7748826203fe527b07874f372fe Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Thu, 20 Feb 2025 12:18:03 +0100 Subject: [PATCH] ui: dissallow taint for clickmap thumbnails --- .../components/Dashboard/components/WidgetView/CardViewMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Dashboard/components/WidgetView/CardViewMenu.tsx b/frontend/app/components/Dashboard/components/WidgetView/CardViewMenu.tsx index 5d3911320..05502ebcd 100644 --- a/frontend/app/components/Dashboard/components/WidgetView/CardViewMenu.tsx +++ b/frontend/app/components/Dashboard/components/WidgetView/CardViewMenu.tsx @@ -36,7 +36,7 @@ const CardViewMenu = () => { key: 'alert', label: 'Set Alerts', icon: , - disabled: !widget.exists() || widget.metricType === 'predefined', + disabled: !widget.exists() || widget.metricType !== 'timeseries', onClick: showAlertModal, }, {