ソースを参照

added backend config frontend componenet

Torkel Ödegaard 11 年 前
コミット
55bc150701
1 ファイル変更12 行追加0 行削除
  1. 12 0
      src/app/components/config.js

+ 12 - 0
src/app/components/config.js

@@ -0,0 +1,12 @@
+define([
+  'settings',
+],
+function (Settings) {
+  "use strict";
+
+  var bootData = window.grafanaBootData;
+  var options = bootData.settings;
+
+  return new Settings(options);
+
+});