mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Revert "support panel repeat for datasource template variable (#7711)"
This reverts commit 554f972a25.
This commit is contained in:
@@ -14,12 +14,12 @@ function (angular, _, coreModule, config) {
|
||||
this.datasources = {};
|
||||
};
|
||||
|
||||
this.get = function(name, scopedDsVars) {
|
||||
this.get = function(name) {
|
||||
if (!name) {
|
||||
return this.get(config.defaultDatasource);
|
||||
}
|
||||
|
||||
name = templateSrv.replace(name, scopedDsVars || {});
|
||||
name = templateSrv.replace(name);
|
||||
|
||||
if (name === 'default') {
|
||||
return this.get(config.defaultDatasource);
|
||||
|
||||
Reference in New Issue
Block a user