Commit ab348fee authored by Justin Ho Tuan Duong's avatar Justin Ho Tuan Duong

Update subscriptions_list.vue to use GlTableLite

Add a small margin below success alert.
parent c00ff2b4
......@@ -94,6 +94,7 @@ export default {
v-if="shouldShowAlert"
:variant="alert.variant"
:title="alert.title"
class="gl-mb-5"
data-testid="jira-connect-persisted-alert"
@dismiss="setAlert"
>
......
<script>
import { GlButton, GlTable } from '@gitlab/ui';
import { GlButton, GlTableLite } from '@gitlab/ui';
import { isEmpty } from 'lodash';
import { mapMutations } from 'vuex';
import { removeSubscription } from '~/jira_connect/subscriptions/api';
......@@ -12,7 +12,7 @@ import GroupItemName from './group_item_name.vue';
export default {
components: {
GlButton,
GlTable,
GlTableLite,
GroupItemName,
TimeagoTooltip,
},
......@@ -78,7 +78,7 @@ export default {
</script>
<template>
<gl-table :items="subscriptions" :fields="$options.fields">
<gl-table-lite :items="subscriptions" :fields="$options.fields">
<template #cell(name)="{ item }">
<group-item-name :group="item.group" />
</template>
......@@ -95,5 +95,5 @@ export default {
>{{ __('Unlink') }}</gl-button
>
</template>
</gl-table>
</gl-table-lite>
</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