You've already forked isop-mirror
fix: correct conditional rendering for document editor in internship edit page
This commit is contained in:
@@ -25,9 +25,7 @@ const { data, refresh } = await useSanctumFetch<Internship>(`/api/internships/${
|
|||||||
<v-alert v-if="data?.status.status !== InternshipStatus.CONFIRMED" type="error" variant="tonal"
|
<v-alert v-if="data?.status.status !== InternshipStatus.CONFIRMED" type="error" variant="tonal"
|
||||||
title="Blokované" text='Vaša prax nie je v stave "Schválená" a teda nemôžete nahrať dokumenty.' />
|
title="Blokované" text='Vaša prax nie je v stave "Schválená" a teda nemôžete nahrať dokumenty.' />
|
||||||
|
|
||||||
<br />
|
<InternshipDocumentEditor v-else :internship="data!" @successful-submit="refresh" />
|
||||||
|
|
||||||
<InternshipDocumentEditor :internship="data!" @successful-submit="refresh" />
|
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-container>
|
</v-container>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user