- add empty states
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<script setup>
|
||||
import EmptyState from '@/Share/Components/EmptyState.vue';
|
||||
|
||||
defineProps({
|
||||
cvs: {
|
||||
type: Object,
|
||||
@@ -82,9 +84,10 @@ function copySlug(slug) {
|
||||
</InertiaLink>
|
||||
</tbody>
|
||||
</table>
|
||||
<div v-else>
|
||||
Pusta lista
|
||||
</div>
|
||||
<EmptyState v-else :icon="['fas', 'file']">
|
||||
<template #title>Nie znaleziono</template>
|
||||
<template #text>Nie dodano jeszcze CV do listy.</template>
|
||||
</EmptyState>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user