mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #14123 from grafana/switch-back-from-mixed
fixed issue switching back from mixed data source
This commit is contained in:
commit
c67b55776c
@ -76,7 +76,6 @@ export class MetricsTabCtrl {
|
||||
return;
|
||||
}
|
||||
|
||||
this.datasourceInstance = option.datasource;
|
||||
this.setDatasource(option.datasource);
|
||||
this.updateDatasourceOptions();
|
||||
}
|
||||
@ -96,6 +95,7 @@ export class MetricsTabCtrl {
|
||||
});
|
||||
}
|
||||
|
||||
this.datasourceInstance = datasource;
|
||||
this.panel.datasource = datasource.value;
|
||||
this.panel.refresh();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user