fix: query key is updated (#3715)

This commit is contained in:
Palash Gupta 2023-10-12 17:27:51 +05:30 committed by GitHub
parent 2be3d35952
commit d5df9a1f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,9 @@ function GridCardGraph({
minTime, minTime,
globalSelectedInterval, globalSelectedInterval,
selectedDashboard?.data?.variables, selectedDashboard?.data?.variables,
widget, widget?.query,
widget?.panelTypes,
widget.timePreferance,
], ],
keepPreviousData: true, keepPreviousData: true,
enabled: isGraphVisible && !isEmptyWidget && isQueryEnabled, enabled: isGraphVisible && !isEmptyWidget && isQueryEnabled,