feat(frontend,backend): Add id page for application forms, fix error with form creation
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<template #body>
|
||||
<UPageList>
|
||||
<UPageCard
|
||||
v-for="(applicationFormElem, index) in applicationForm"
|
||||
v-for="(applicationFormElem, index) in applicationForms"
|
||||
:key="index"
|
||||
variant="ghost"
|
||||
:to="`application-forms/${applicationFormElem.id}`"
|
||||
@@ -54,7 +54,7 @@ const { data } = await useAsyncData<PagedApplicationFormDto>(async () => {
|
||||
return await getAllApplicationForms()
|
||||
})
|
||||
|
||||
const applicationForm = computed({
|
||||
const applicationForms = computed({
|
||||
get: () => data?.value?.content ?? [],
|
||||
set: (val) => {
|
||||
if (val && data.value) {
|
||||
|
||||
Reference in New Issue
Block a user