Commit 764721dd authored by Mark Florian's avatar Mark Florian

Migrate legacy icon badge usage

parent 4844ca81
......@@ -3,7 +3,6 @@ import {
GlLink,
GlDeprecatedSkeletonLoading as GlSkeletonLoading,
GlBadge,
GlIcon,
GlFriendlyWrap,
} from '@gitlab/ui';
import { LICENSE_APPROVAL_CLASSIFICATION } from 'ee/vue_shared/license_compliance/constants';
......@@ -16,7 +15,6 @@ export default {
GlLink,
GlSkeletonLoading,
GlBadge,
GlIcon,
GlFriendlyWrap,
},
props: {
......@@ -81,10 +79,8 @@ export default {
<div class="table-mobile-content d-md-flex justify-content-between align-items-center">
<license-component-links :components="license.components" :title="license.name" />
<div v-if="isDenied" class="d-inline-block">
<!-- This badge usage will be simplified in https://gitlab.com/gitlab-org/gitlab/-/issues/213789 -->
<gl-badge variant="warning">
<gl-icon name="warning" class="mr-1" />
<span>{{ s__('Licenses|Policy violation: denied') }}</span>
<gl-badge variant="warning" icon="warning">
{{ s__('Licenses|Policy violation: denied') }}
</gl-badge>
</div>
</div>
......
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