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>2021-10-30 03:10:32 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-30 03:10:32 +0300
commitbaadfde0b8fe36ab045bd50ee84b011496db7925 (patch)
tree384c4f078bc5dd41e65799709310955953c2a879 /app/assets/javascripts/crm
parentea7202cfe3576ba5d4e1beb4f954dd2a210f8036 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/crm')
-rw-r--r--app/assets/javascripts/crm/components/contacts_root.vue7
-rw-r--r--app/assets/javascripts/crm/components/organizations_root.vue7
-rw-r--r--app/assets/javascripts/crm/contacts_bundle.js17
-rw-r--r--app/assets/javascripts/crm/organizations_bundle.js17
4 files changed, 48 insertions, 0 deletions
diff --git a/app/assets/javascripts/crm/components/contacts_root.vue b/app/assets/javascripts/crm/components/contacts_root.vue
new file mode 100644
index 00000000000..6d32ba41eae
--- /dev/null
+++ b/app/assets/javascripts/crm/components/contacts_root.vue
@@ -0,0 +1,7 @@
+<script>
+export default {};
+</script>
+
+<template>
+ <div></div>
+</template>
diff --git a/app/assets/javascripts/crm/components/organizations_root.vue b/app/assets/javascripts/crm/components/organizations_root.vue
new file mode 100644
index 00000000000..6d32ba41eae
--- /dev/null
+++ b/app/assets/javascripts/crm/components/organizations_root.vue
@@ -0,0 +1,7 @@
+<script>
+export default {};
+</script>
+
+<template>
+ <div></div>
+</template>
diff --git a/app/assets/javascripts/crm/contacts_bundle.js b/app/assets/javascripts/crm/contacts_bundle.js
new file mode 100644
index 00000000000..a46acfdc2d5
--- /dev/null
+++ b/app/assets/javascripts/crm/contacts_bundle.js
@@ -0,0 +1,17 @@
+import Vue from 'vue';
+import CrmContactsRoot from './components/contacts_root.vue';
+
+export default () => {
+ const el = document.getElementById('js-crm-contacts-app');
+
+ if (!el) {
+ return false;
+ }
+
+ return new Vue({
+ el,
+ render(createElement) {
+ return createElement(CrmContactsRoot);
+ },
+ });
+};
diff --git a/app/assets/javascripts/crm/organizations_bundle.js b/app/assets/javascripts/crm/organizations_bundle.js
new file mode 100644
index 00000000000..d4b2dff8f3e
--- /dev/null
+++ b/app/assets/javascripts/crm/organizations_bundle.js
@@ -0,0 +1,17 @@
+import Vue from 'vue';
+import CrmOrganizationsRoot from './components/organizations_root.vue';
+
+export default () => {
+ const el = document.getElementById('js-crm-organizations-app');
+
+ if (!el) {
+ return false;
+ }
+
+ return new Vue({
+ el,
+ render(createElement) {
+ return createElement(CrmOrganizationsRoot);
+ },
+ });
+};