Преглед изворни кода

small fix to graphite target editor

Torkel Ödegaard пре 12 година
родитељ
комит
fe19e8f776
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/app/controllers/graphiteTarget.js

+ 1 - 1
src/app/controllers/graphiteTarget.js

@@ -46,7 +46,7 @@ function (angular, _, config, gfunc, Parser) {
         $scope.showTextEditor = true;
       }
 
-      checkOtherSegments($scope.segments.length);
+      checkOtherSegments($scope.segments.length - 1);
     }
 
     function parseTargeRecursive(astNode, func, index) {