Commit 1058c890 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'gitlab-slack-app-bundle-refactor' into 'master'

Removed webpack bundle tag for add_gitlab_slack_application

See merge request gitlab-org/gitlab-ee!4811
parents 1a0f89c6 a2506e11
......@@ -62,7 +62,6 @@ function generateEntries() {
webpack_runtime: './webpack.js',
// EE-only
add_gitlab_slack_application: 'ee/add_gitlab_slack_application/index.js',
geo_nodes: 'ee/geo_nodes',
ldap_group_links: 'ee/groups/ldap_group_links.js',
mirrors: 'ee/mirrors',
......
import Vue from 'vue';
import AddGitlabSlackApplication from './components/add_gitlab_slack_application.vue';
function mountAddGitlabSlackApplication() {
export default () => {
const el = document.getElementById('js-add-gitlab-slack-application-entry-point');
if (!el) return;
......@@ -23,8 +23,4 @@ function mountAddGitlabSlackApplication() {
docsPath: initialData.docs_path,
},
}).$mount(el);
}
document.addEventListener('DOMContentLoaded', mountAddGitlabSlackApplication);
export default mountAddGitlabSlackApplication;
};
import mountAddGitlabSlackApplication from 'ee/add_gitlab_slack_application';
document.addEventListener('DOMContentLoaded', () => mountAddGitlabSlackApplication());
= webpack_bundle_tag 'add_gitlab_slack_application'
-# haml-lint:disable InlineJavaScript
%script#js-add-gitlab-slack-application-entry-data{ type: "application/json" }
= add_to_slack_data(@projects)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment