summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commons
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-09-07 22:43:08 +0000
committerMike Greiling <mike@pixelcog.com>2018-09-07 22:43:08 +0000
commit77f1baa3fade1f01d9fb151ae23124c8ede43962 (patch)
tree19021c5012c11bc8bcd8dafacaea591b8173f57c /app/assets/javascripts/commons
parent79322c3c93177a722aba8e1bcb6e8684b074e162 (diff)
downloadgitlab-ce-77f1baa3fade1f01d9fb151ae23124c8ede43962.tar.gz
Use gitlab-ui modal wrapped component
Diffstat (limited to 'app/assets/javascripts/commons')
-rw-r--r--app/assets/javascripts/commons/gitlab_ui.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/javascripts/commons/gitlab_ui.js b/app/assets/javascripts/commons/gitlab_ui.js
index 923c036f5a4..ee274058e0f 100644
--- a/app/assets/javascripts/commons/gitlab_ui.js
+++ b/app/assets/javascripts/commons/gitlab_ui.js
@@ -1,4 +1,10 @@
import Vue from 'vue';
-import progressBar from '@gitlab-org/gitlab-ui/dist/base/progress_bar';
+import progressBar from '@gitlab-org/gitlab-ui/dist/components/base/progress_bar';
+import modal from '@gitlab-org/gitlab-ui/dist/components/base/modal';
+
+import dModal from '@gitlab-org/gitlab-ui/dist/directives/modal';
Vue.component('gl-progress-bar', progressBar);
+Vue.component('gl-ui-modal', modal);
+
+Vue.directive('gl-modal', dModal);