Sfoglia il codice sorgente

small fix to graphite target editor

Torkel Ödegaard 12 anni fa
parent
commit
fe19e8f776
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) {