From f3cb3b9840cdadf8a21b1ee8f2d68ecd31b5beed Mon Sep 17 00:00:00 2001 From: Shaheer Kochai Date: Wed, 11 Sep 2024 18:14:22 +0430 Subject: [PATCH] fix: loading and no-data states showing in loading state of alert edit/overview (#5887) --- frontend/src/container/FormAlertRules/ChartPreview/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/container/FormAlertRules/ChartPreview/index.tsx b/frontend/src/container/FormAlertRules/ChartPreview/index.tsx index 03db8a362e..add24106e4 100644 --- a/frontend/src/container/FormAlertRules/ChartPreview/index.tsx +++ b/frontend/src/container/FormAlertRules/ChartPreview/index.tsx @@ -260,7 +260,7 @@ function ChartPreview({ )} - {chartData && !queryResponse.isError && ( + {chartData && !queryResponse.isError && !queryResponse.isLoading && (