Commit 043f2654 authored by Neil McCorrison's avatar Neil McCorrison Committed by Vitaly Slobodin

Updated licenses page to use non-deprecated GLBadge

parent 3ae04e5c
......@@ -2,7 +2,7 @@
import {
GlLink,
GlDeprecatedSkeletonLoading as GlSkeletonLoading,
GlDeprecatedBadge as GlBadge,
GlBadge,
GlIcon,
GlFriendlyWrap,
} from '@gitlab/ui';
......@@ -82,8 +82,8 @@ export default {
<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" class="gl-alert-warning d-flex align-items-center">
<gl-icon name="warning" :size="16" class="pr-1" />
<gl-badge variant="warning">
<gl-icon name="warning" class="mr-1" />
<span>{{ s__('Licenses|Policy violation: denied') }}</span>
</gl-badge>
</div>
......
---
title: Updated license compliance policy violation indicator styling
merge_request: 43447
author:
type: changed
......@@ -2,7 +2,7 @@ import { shallowMount } from '@vue/test-utils';
import {
GlLink,
GlDeprecatedSkeletonLoading as GlSkeletonLoading,
GlDeprecatedBadge as GlBadge,
GlBadge,
GlFriendlyWrap,
} from '@gitlab/ui';
import LicenseComponentLinks from 'ee/license_compliance/components/license_component_links.vue';
......
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