summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-11-02 08:34:02 +0000
committerPhil Hughes <me@iamphill.com>2018-11-02 08:34:02 +0000
commitfe61d36cfa7f2fb57beb667ea83537cfc671f1a1 (patch)
tree77d5c1807991e01b229e3b61c1de7dc8818e77df /app/assets/javascripts
parentf4023a69cb5e78fca595a2151a2272fbdfd5917a (diff)
downloadgitlab-ce-fe61d36cfa7f2fb57beb667ea83537cfc671f1a1.tar.gz
Remove gitlab-ui's progress bar from global
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/commons/gitlab_ui.js3
-rw-r--r--app/assets/javascripts/sidebar/components/time_tracking/comparison_pane.vue4
2 files changed, 5 insertions, 2 deletions
diff --git a/app/assets/javascripts/commons/gitlab_ui.js b/app/assets/javascripts/commons/gitlab_ui.js
index e93e1f5ea2c..82a191d056b 100644
--- a/app/assets/javascripts/commons/gitlab_ui.js
+++ b/app/assets/javascripts/commons/gitlab_ui.js
@@ -1,7 +1,6 @@
import Vue from 'vue';
-import { GlProgressBar, GlLoadingIcon, GlTooltipDirective } from '@gitlab-org/gitlab-ui';
+import { GlLoadingIcon, GlTooltipDirective } from '@gitlab-org/gitlab-ui';
-Vue.component('gl-progress-bar', GlProgressBar);
Vue.component('gl-loading-icon', GlLoadingIcon);
Vue.directive('gl-tooltip', GlTooltipDirective);
diff --git a/app/assets/javascripts/sidebar/components/time_tracking/comparison_pane.vue b/app/assets/javascripts/sidebar/components/time_tracking/comparison_pane.vue
index e74912d628f..b145e5dc5e2 100644
--- a/app/assets/javascripts/sidebar/components/time_tracking/comparison_pane.vue
+++ b/app/assets/javascripts/sidebar/components/time_tracking/comparison_pane.vue
@@ -1,9 +1,13 @@
<script>
import { parseSeconds, stringifyTime } from '~/lib/utils/datetime_utility';
import tooltip from '../../../vue_shared/directives/tooltip';
+import { GlProgressBar } from '@gitlab-org/gitlab-ui';
export default {
name: 'TimeTrackingComparisonPane',
+ components: {
+ GlProgressBar,
+ },
directives: {
tooltip,
},