Commit 750fbdb1 authored by Alexander Turinske's avatar Alexander Turinske

Update cluster environment badge to pajamas

- update badge to pajamas

Changelog: changed

EE: true
parent 952a0852
<script>
import { GlTable, GlEmptyState, GlLoadingIcon, GlIcon, GlLink, GlSprintf } from '@gitlab/ui';
import {
GlBadge,
GlTable,
GlEmptyState,
GlLoadingIcon,
GlIcon,
GlLink,
GlSprintf,
} from '@gitlab/ui';
import { __ } from '~/locale';
import deploymentInstance from '~/vue_shared/components/deployment_instance.vue';
import TimeAgo from '~/vue_shared/components/time_ago_tooltip.vue';
export default {
components: {
GlBadge,
GlEmptyState,
GlTable,
GlIcon,
......@@ -120,7 +129,7 @@ export default {
<!-- column: Pods in use -->
<template #head(rolloutStatus)="data">
{{ data.label }} <span class="badge badge-pill bold">{{ podsInUseCount }}</span>
{{ data.label }} <gl-badge>{{ podsInUseCount }}</gl-badge>
</template>
<template #cell(rolloutStatus)="row">
......
......@@ -53,7 +53,7 @@ describe('Environments', () => {
});
it('renders the correct table headers', () => {
const tableHeaders = ['Project', 'Environment', 'Job', `Pods in use 2`, 'Last updated'];
const tableHeaders = ['Project', 'Environment', 'Job', `Pods in use 2`, 'Last updated'];
const headers = table.findAll('th');
expect(headers).toHaveLength(tableHeaders.length);
......
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