summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/cycle_analytics/components
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-11-05 15:12:40 +0200
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-11-21 23:11:41 +0200
commit02e74971663d14e5c43f89b6911766ce2062ed39 (patch)
tree9de3057851f2ab7f7ae662ad6fa2ee34fa99379a /app/assets/javascripts/cycle_analytics/components
parent62e0877d5a2290403975667eb679dc94a2340655 (diff)
downloadgitlab-ce-02e74971663d14e5c43f89b6911766ce2062ed39.tar.gz
Replace tooltip directive with gl-tooltip directive in badges, cycle analytics, and diffs
Diffstat (limited to 'app/assets/javascripts/cycle_analytics/components')
-rw-r--r--app/assets/javascripts/cycle_analytics/components/limit_warning_component.vue7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/assets/javascripts/cycle_analytics/components/limit_warning_component.vue b/app/assets/javascripts/cycle_analytics/components/limit_warning_component.vue
index 16bc900867a..a67a225e20a 100644
--- a/app/assets/javascripts/cycle_analytics/components/limit_warning_component.vue
+++ b/app/assets/javascripts/cycle_analytics/components/limit_warning_component.vue
@@ -1,9 +1,9 @@
<script>
-import tooltip from '../../vue_shared/directives/tooltip';
+import { GlTooltipDirective } from '@gitlab-org/gitlab-ui';
export default {
directives: {
- tooltip,
+ GlTooltip: GlTooltipDirective,
},
props: {
count: {
@@ -16,13 +16,12 @@ export default {
<template>
<span v-if="count === 50" class="events-info float-right">
<i
- v-tooltip
+ v-gl-tooltip.top
:title="
n__('Limited to showing %d event at most', 'Limited to showing %d events at most', 50)
"
class="fa fa-warning"
aria-hidden="true"
- data-placement="top"
>
</i>
{{ n__('Showing %d event', 'Showing %d events', 50) }}