aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/project-permissions/app.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-permissions/app.jsx')
-rw-r--r--server/sonar-web/src/main/js/apps/project-permissions/app.jsx23
1 files changed, 0 insertions, 23 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-permissions/app.jsx b/server/sonar-web/src/main/js/apps/project-permissions/app.jsx
deleted file mode 100644
index 25abfb8629d..00000000000
--- a/server/sonar-web/src/main/js/apps/project-permissions/app.jsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import $ from 'jquery';
-import React from 'react';
-import Main from './main';
-
-let permissionTemplates = [];
-
-export default {
- start(options) {
- $.when(
- window.requestMessages(),
- this.requestPermissionTemplates()
- ).then(() => {
- var el = document.querySelector(options.el);
- React.render(<Main permissionTemplates={permissionTemplates} componentId={options.componentId}/>, el);
- });
- },
-
- requestPermissionTemplates() {
- return $.get(baseUrl + '/api/permissions/search_templates').done(r => {
- permissionTemplates = r.permissionTemplates;
- });
- }
-};