You've already forked isop-mirror
refactor: put alerts into separate components
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user