Commit 5c3a4131 authored by Jannik Lehmann's avatar Jannik Lehmann

Replace GlTable with GlTablelite for subscription-details-history

parent 0ba77670
<script> <script>
import { GlBadge, GlTable } from '@gitlab/ui'; import { GlBadge, GlTableLite } from '@gitlab/ui';
import { kebabCase } from 'lodash'; import { kebabCase } from 'lodash';
import { capitalizeFirstCharacter } from '~/lib/utils/text_utility'; import { capitalizeFirstCharacter } from '~/lib/utils/text_utility';
import { import {
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
name: 'SubscriptionDetailsHistory', name: 'SubscriptionDetailsHistory',
components: { components: {
GlBadge, GlBadge,
GlTable, GlTableLite,
}, },
props: { props: {
currentSubscriptionId: { currentSubscriptionId: {
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
<header> <header>
<h2 class="gl-mb-6 gl-mt-0">{{ $options.i18n.subscriptionHistoryTitle }}</h2> <h2 class="gl-mb-6 gl-mt-0">{{ $options.i18n.subscriptionHistoryTitle }}</h2>
</header> </header>
<gl-table <gl-table-lite
:details-td-class="$options.tdClass" :details-td-class="$options.tdClass"
:fields="fields" :fields="fields"
:items="subscriptionList" :items="subscriptionList"
...@@ -149,6 +149,6 @@ export default { ...@@ -149,6 +149,6 @@ export default {
<template #cell(type)="{ value }"> <template #cell(type)="{ value }">
<gl-badge size="md" variant="info">{{ value }}</gl-badge> <gl-badge size="md" variant="info">{{ value }}</gl-badge>
</template> </template>
</gl-table> </gl-table-lite>
</section> </section>
</template> </template>
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