fix: missing alert props after type checks

This commit is contained in:
2025-11-08 14:01:50 +01:00
parent a615afb81f
commit df78942ede
2 changed files with 2 additions and 2 deletions

View File

@@ -202,7 +202,7 @@ const deleteStudent = async () => {
<ErrorAlert v-if="deleteError" :error="deleteError" />
<!-- Success message -->
<SuccessAlert v-if="deleteSuccess" text="Študent bol úspešne vymazaný." />
<SuccessAlert v-if="deleteSuccess" title="Úspech" text="Študent bol úspešne vymazaný." />
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>

View File

@@ -116,7 +116,7 @@ const deleteStudent = async () => {
</tbody>
</v-table>
<InfoAlert v-else text="Zatiaľ nie sú zaregistrovaní žiadni študenti." />
<InfoAlert v-else title="Informácia" text="Zatiaľ nie sú zaregistrovaní žiadni študenti." />
</div>
</v-card>