Commit a10602b9 authored by Sunjung Park's avatar Sunjung Park Committed by Vitaly Slobodin

Geo: Replace tooltip to GlTooltip in Geo sync settings

parent 08c1a5b1
<script> <script>
import { GlIcon } from '@gitlab/ui'; import { GlIcon, GlTooltipDirective } from '@gitlab/ui';
import { sprintf, s__, __ } from '~/locale'; import { sprintf, s__, __ } from '~/locale';
import { timeIntervalInWords } from '~/lib/utils/datetime_utility'; import { timeIntervalInWords } from '~/lib/utils/datetime_utility';
import tooltip from '~/vue_shared/directives/tooltip';
import { TIME_DIFF } from '../constants'; import { TIME_DIFF } from '../constants';
export default { export default {
directives: { directives: {
tooltip, GlTooltip: GlTooltipDirective,
}, },
components: { components: {
GlIcon, GlIcon,
...@@ -115,10 +114,9 @@ export default { ...@@ -115,10 +114,9 @@ export default {
<strong v-if="syncStatusUnavailable"> {{ __('Unknown') }} </strong> <strong v-if="syncStatusUnavailable"> {{ __('Unknown') }} </strong>
<span <span
v-else v-else
v-tooltip v-gl-tooltip
:title="syncStatusTooltip" :title="syncStatusTooltip"
class="d-flex align-items-center" class="d-inline-block gl-align-items-center"
data-placement="bottom"
> >
<strong data-testid="syncType">{{ syncType }}</strong> <strong data-testid="syncType">{{ syncType }}</strong>
<gl-icon name="retry" class="ml-2" /> <gl-icon name="retry" class="ml-2" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment