Przeglądaj źródła

Fix for cacheTimeout undefined value, #266

Torkel Ödegaard 11 lat temu
rodzic
commit
8aed1aa634
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/app/services/graphite/graphiteDatasource.js

+ 1 - 1
src/app/services/graphite/graphiteDatasource.js

@@ -225,7 +225,7 @@ function (angular, _, $, config, kbn, moment) {
             }
           }, this);
         }
-        else if (value !== null) {
+        else if (value) {
           clean_options.push(key + "=" + encodeURIComponent(value));
         }
       }, this);