Przeglądaj źródła

feat(graphite): make sortByName optional

fixes #3360
closes #3361
carl bergquist 10 lat temu
rodzic
commit
12889a9509
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      public/app/plugins/datasource/graphite/gfunc.js

+ 1 - 1
public/app/plugins/datasource/graphite/gfunc.js

@@ -280,7 +280,7 @@ function (_, $) {
   addFuncDef({
     name: 'sortByName',
     category: categories.Special,
-    params: [{ name: "natural", type: "select", options: ["true", "false"] }],
+    params: [{ name: "natural", type: "select", options: ["true", "false"], optional: true }],
     defaultParams: ["false"]
   });