Commit 55084497 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch 'mw-replace-fa-warning-in-limit-warning-component' into 'master'

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

See merge request gitlab-org/gitlab!43994
parents 9c885651 2ae52e2b
<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