stackdriver: set currentdatasource when editview is enabled

pull/14007/head
Erik Sundell 7 years ago
parent 40bb3551cf
commit 4569527873
  1. 3
      public/app/features/templating/editor_ctrl.ts

@ -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…
Cancel
Save