Revert "fix: variable edit flow - use updated query value on test query" (#4207)

This reverts commit bcebe050b1c4a9739d0452456f0cffa1fd013b62.
This commit is contained in:
Yunus M 2023-12-12 11:38:06 +05:30 committed by GitHub
parent bcebe050b1
commit 3c284fc9ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ function VariableItem({
enabled: false,
queryFn: () =>
dashboardVariablesQuery({
query: variableQueryValue || '',
query: variableData.queryValue || '',
variables: variablePropsToPayloadVariables(existingVariables),
}),
refetchOnWindowFocus: false,