Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-07 18:09:16 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-07 18:09:16 +0300
commit9a1203dfe866d46780b92e5cdb081dd6fdc778c5 (patch)
treee1fb7c2cab48f40185c52863a3b33d34cae53f28 /app/assets/javascripts/webhooks/index.js
parent414fefc8c437ab2e4dc768e675d0e914241c06bc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/webhooks/index.js')
-rw-r--r--app/assets/javascripts/webhooks/index.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/assets/javascripts/webhooks/index.js b/app/assets/javascripts/webhooks/index.js
new file mode 100644
index 00000000000..bfa33560fa5
--- /dev/null
+++ b/app/assets/javascripts/webhooks/index.js
@@ -0,0 +1,18 @@
+import Vue from 'vue';
+import FormUrlApp from './components/form_url_app.vue';
+
+export default () => {
+ const el = document.querySelector('.js-vue-webhook-form');
+
+ if (!el) {
+ return null;
+ }
+
+ return new Vue({
+ el,
+ name: 'WebhookFormRoot',
+ render(createElement) {
+ return createElement(FormUrlApp, {});
+ },
+ });
+};