Ver Fonte

Row editor fix: fixed issue when opening row editor when dashboard settings view is opened, Fixes #1688

Torkel Ödegaard há 10 anos atrás
pai
commit
7aa1ab855e
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      public/app/features/dashboard/rowCtrl.js

+ 1 - 0
public/app/features/dashboard/rowCtrl.js

@@ -21,6 +21,7 @@ function (angular, app, _, config) {
     _.defaults($scope.row,_d);
     _.defaults($scope.row,_d);
 
 
     $scope.init = function() {
     $scope.init = function() {
+      $scope.editor = {index: 0};
       $scope.reset_panel();
       $scope.reset_panel();
     };
     };