diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2018-09-07 22:43:08 +0000 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-09-07 22:43:08 +0000 |
commit | 77f1baa3fade1f01d9fb151ae23124c8ede43962 (patch) | |
tree | 19021c5012c11bc8bcd8dafacaea591b8173f57c /app/assets/javascripts/commons | |
parent | 79322c3c93177a722aba8e1bcb6e8684b074e162 (diff) | |
download | gitlab-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.js | 8 |
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); |