Commit 4b25abb4 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'replace-Gldeprecated-badge-in-unscanned-projects' into 'master'

Replaced GlDepreactedBadge in unscanned Projects

See merge request gitlab-org/gitlab!46036
parents a5320295 f4eb8b9c
<script>
import { GlDeprecatedBadge as GlBadge, GlTabs, GlTab, GlLink, GlIcon } from '@gitlab/ui';
import { GlBadge, GlTabs, GlTab, GlLink, GlIcon } from '@gitlab/ui';
import { mapActions, mapGetters, mapState } from 'vuex';
import UnscannedProjectsTabContent from './unscanned_projects_tab_content.vue';
......@@ -62,9 +62,14 @@ export default {
<gl-tab ref="outdatedProjectsTab" title-item-class="ml-3">
<template #title>
{{ s__('UnscannedProjects|Out of date') }}
<gl-badge v-if="!isLoading" ref="outdatedProjectsCount" pill>{{
outdatedProjectsCount
}}</gl-badge>
<gl-badge
v-if="!isLoading"
ref="outdatedProjectsCount"
size="sm"
class="gl-tab-counter-badge"
pill
>{{ outdatedProjectsCount }}
</gl-badge>
</template>
<unscanned-projects-tab-content :is-loading="isLoading" :is-empty="!hasOutdatedProjects">
<div v-for="dateRange in outdatedProjects" :key="dateRange.fromDay" class="mb-3">
......@@ -82,9 +87,14 @@ export default {
<gl-tab ref="untestedProjectsTab" title-item-class="ml-3">
<template #title>
{{ s__('UnscannedProjects|Untested') }}
<gl-badge v-if="!isLoading" ref="untestedProjectsCount" pill>{{
untestedProjectsCount
}}</gl-badge>
<gl-badge
v-if="!isLoading"
ref="untestedProjectsCount"
size="sm"
class="gl-tab-counter-badge"
pill
>{{ untestedProjectsCount }}
</gl-badge>
</template>
<unscanned-projects-tab-content :is-loading="isLoading" :is-empty="!hasUntestedProjects">
<ul class="list-unstyled m-0">
......
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