mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
stackdriver: set currentdatasource when editview is enabled
This commit is contained in:
parent
40bb3551cf
commit
4569527873
@ -117,6 +117,9 @@ export class VariableEditorCtrl {
|
||||
$scope.currentIsNew = false;
|
||||
$scope.mode = 'edit';
|
||||
$scope.validate();
|
||||
datasourceSrv.get($scope.current.datasource).then(ds => {
|
||||
$scope.currentDatasource = ds;
|
||||
});
|
||||
};
|
||||
|
||||
$scope.duplicate = variable => {
|
||||
|
Loading…
Reference in New Issue
Block a user