refactor: put alerts into separate components

This commit is contained in:
2025-11-05 09:10:42 +01:00
parent 0bbc658034
commit fc0ce811c5
29 changed files with 153 additions and 123 deletions

View File

@@ -36,9 +36,8 @@ const { data, error } = await useSanctumFetch<Internship[]>('/api/internships');
<div style="height: 40px;"></div>
<!-- Chybová hláška -->
<v-alert v-if="error" density="compact" :text="error?.message" title="Chyba" type="error"
id="login-error-alert" class="mx-auto alert"></v-alert>
<ErrorAlert v-if="error" :error="error?.message" />
<v-table v-else>
<thead>
<tr>