aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/global-permissions/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/global-permissions/app.js')
-rw-r--r--server/sonar-web/src/main/js/apps/global-permissions/app.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/global-permissions/app.js b/server/sonar-web/src/main/js/apps/global-permissions/app.js
new file mode 100644
index 00000000000..f010e11b6e0
--- /dev/null
+++ b/server/sonar-web/src/main/js/apps/global-permissions/app.js
@@ -0,0 +1,8 @@
+import React from 'react';
+import Main from './main';
+import '../../helpers/handlebars-helpers';
+
+window.sonarqube.appStarted.then(options => {
+ var el = document.querySelector(options.el);
+ React.render(<Main/>, el);
+});