diff options
Diffstat (limited to 'app/assets/javascripts/cycle_analytics')
-rw-r--r-- | app/assets/javascripts/cycle_analytics/components/limit_warning_component.vue | 7 |
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) }} |