Closed grafana-delivery-bot[bot] closed 1 month ago
Backport 58d382e5dd1b640dd707701f77671a7fc59a9acf from #87990
This fixes that by running a deepEqual check against the saved migratedQuery value and the new query.
deepEqual
migratedQuery
I've tested that the original migration fix still works and that the query is correctly maintained across re-renders.
Backport 58d382e5dd1b640dd707701f77671a7fc59a9acf from #87990
86069 introduced a bug which would prevent the query type from being changed.
This fixes that by running a
deepEqual
check against the savedmigratedQuery
value and the new query.I've tested that the original migration fix still works and that the query is correctly maintained across re-renders.