Closed samfadrigalan closed 2 years ago
potentially relates to #134 and https://github.com/grafana/grafana/issues/36508
@ShilpaSivanesan this should solve problem with grafana 8 generically can you please take a look and merge ?
Resolves #133
@Gauravshah @ShilpaSivanesan -- Would greatly appreciate a review in hopes of getting this merged. Thanks!
@Gauravshah @ShilpaSivanesan -- Would greatly appreciate a review in hopes of getting this merged. Thanks!
https://github.com/GoshPosh/grafana-meta-queries/pull/134 fixes the issue
Thank you for your contribution, @samfadrigalan . However, this change had a problem while validating, so a new fix https://github.com/GoshPosh/grafana-meta-queries/pull/134 was created.
Notes
datasource
isn't available in props on first query creation in Grafana 8.0.x. This PR manually populatestarget.datasource
in MetaQueries' query control ifdatasource
is undefined.Grafana 7 Query Operation Row props --
datasource
is defined for new queriesGrafana 8 Query Operation Row props -- undefined
datasource
for new queriesGrafana 8 Query Operation Row props --
datasource
is defined after some steps