diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-07 18:09:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-07 18:09:16 +0300 |
commit | 9a1203dfe866d46780b92e5cdb081dd6fdc778c5 (patch) | |
tree | e1fb7c2cab48f40185c52863a3b33d34cae53f28 /app/assets/javascripts/webhooks/index.js | |
parent | 414fefc8c437ab2e4dc768e675d0e914241c06bc (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.js | 18 |
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, {}); + }, + }); +}; |