Просмотр исходного кода

fix(table): minor fix for table panel

Torkel Ödegaard 10 лет назад
Родитель
Сommit
36ab8ae19c
2 измененных файлов с 1 добавлено и 1 удалено
  1. 0 1
      public/app/features/dashboard/timeSrv.js
  2. 1 0
      public/app/panels/table/editor.ts

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

@@ -21,7 +21,6 @@ define([
 
       this._initTimeFromUrl();
       this._parseTime();
-      console.log(dashboard.time);
 
       if(this.dashboard.refresh) {
         this.setAutoRefresh(this.dashboard.refresh);

+ 1 - 0
public/app/panels/table/editor.ts

@@ -50,6 +50,7 @@ export class TablePanelEditorCtrl {
 
       var plusButton = uiSegmentSrv.newPlusButton();
       $scope.addColumnSegment.html = plusButton.html;
+      $scope.addColumnSegment.value = plusButton.value;
     };
 
     $scope.transformChanged = function() {