Commit 2ae52e2b authored by Martin Wortschack's avatar Martin Wortschack Committed by Ezekiel Kigbo

Replace fa-warning with GitLab SVG icon in VSA limit warning

parent 9c885651
<script>
import { GlTooltipDirective } from '@gitlab/ui';
import { GlIcon, GlTooltipDirective } from '@gitlab/ui';
export default {
components: {
GlIcon,
},
directives: {
GlTooltip: GlTooltipDirective,
},
......@@ -15,15 +18,17 @@ export default {
</script>
<template>
<span v-if="count === 50" class="events-info float-right">
<i
v-gl-tooltip
:title="
n__('Limited to showing %d event at most', 'Limited to showing %d events at most', 50)
"
class="fa fa-warning"
<gl-icon
v-gl-tooltip="{
title: n__(
'Limited to showing %d event at most',
'Limited to showing %d events at most',
50,
),
}"
name="warning"
aria-hidden="true"
>
</i>
/>
{{ n__('Showing %d event', 'Showing %d events', 50) }}
</span>
</template>
---
title: 'VSA: Replace fa-warning with GitLab SVG icon'
merge_request: 43994
author:
type: changed
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