refactor: added slots for table header and body

This commit is contained in:
Joel Jacob Stephen
2023-08-06 17:25:41 +05:30
parent 6e7db67c9b
commit caf5d7ec0f
3 changed files with 5 additions and 4 deletions

View File

@@ -22,13 +22,10 @@ declare module '@vue/runtime-core' {
HoppSmartItem: typeof import('@hoppscotch/ui')['HoppSmartItem']
HoppSmartModal: typeof import('@hoppscotch/ui')['HoppSmartModal']
HoppSmartPicture: typeof import('@hoppscotch/ui')['HoppSmartPicture']
HoppSmartPlaceholder: typeof import('@hoppscotch/ui')['HoppSmartPlaceholder']
HoppSmartSpinner: typeof import('@hoppscotch/ui')['HoppSmartSpinner']
HoppSmartTab: typeof import('@hoppscotch/ui')['HoppSmartTab']
HoppSmartTable: typeof import('@hoppscotch/ui')['HoppSmartTable']
IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left')['default']
IconLucideChevronDown: typeof import('~icons/lucide/chevron-down')['default']
IconLucideHelpCircle: typeof import('~icons/lucide/help-circle')['default']
IconLucideInbox: typeof import('~icons/lucide/inbox')['default']
IconLucideUser: typeof import('~icons/lucide/user')['default']
TeamsAdd: typeof import('./components/teams/Add.vue')['default']

View File

@@ -31,7 +31,7 @@
<div v-else-if="error">{{ t('users.load_list_error') }}</div>
<div v-else-if="usersList.length >= 1" class="m-5">
<div v-else-if="usersList.length > 0" class="m-5">
<HoppSmartTable
cell-styles="px-6 py-1"
:list="newUsersList"