From d5df9a1f7f9c0faeef7f0e089eeefa85a275e5e5 Mon Sep 17 00:00:00 2001 From: Palash Gupta Date: Thu, 12 Oct 2023 17:27:51 +0530 Subject: [PATCH] fix: query key is updated (#3715) --- frontend/src/container/GridCardLayout/GridCard/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/container/GridCardLayout/GridCard/index.tsx b/frontend/src/container/GridCardLayout/GridCard/index.tsx index f2e0114999..598f4dd708 100644 --- a/frontend/src/container/GridCardLayout/GridCard/index.tsx +++ b/frontend/src/container/GridCardLayout/GridCard/index.tsx @@ -70,7 +70,9 @@ function GridCardGraph({ minTime, globalSelectedInterval, selectedDashboard?.data?.variables, - widget, + widget?.query, + widget?.panelTypes, + widget.timePreferance, ], keepPreviousData: true, enabled: isGraphVisible && !isEmptyWidget && isQueryEnabled,