Dashboard Schema V2: Fix query variable bug (#100773)

fix
This commit is contained in:
Haris Rozajac
2025-02-18 07:18:45 -07:00
committed by GitHub
parent 870c65a80f
commit f25d163a82
@@ -533,9 +533,7 @@ function getVariables(vars: TypedVariableModel[]): DashboardV2Spec['variables']
sort: transformSortVariableToEnum(v.sort),
query: {
kind: v.datasource?.type || getDefaultDatasourceType(),
spec: {
...v.query,
},
spec: query,
},
},
};