#150 - added empty states to subpages

This commit is contained in:
2022-06-01 12:45:02 +02:00
parent e796e963f3
commit e1d0096060
5 changed files with 45 additions and 5 deletions

View File

@@ -194,7 +194,14 @@
colspan="100%"
class="py-4 text-xl leading-5 text-center text-gray-700"
>
Brak danych
<EmptyState>
<template #title>
Nie znaleziono użytkownika
</template>
<template #text>
Spróbuj sformułować zapytanie inaczej
</template>
</EmptyState>
</td>
</tr>
</tbody>
@@ -214,6 +221,7 @@ import { DotsVerticalIcon, PencilIcon, BanIcon, RefreshIcon } from '@heroicons/v
import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue'
import { DateTime } from 'luxon'
import Pagination from '@/Shared/Pagination'
import EmptyState from '@/Shared/Feedbacks/EmptyState'
const props = defineProps({
users: Object,