finished entry form tests

This commit is contained in:
2024-03-13 19:43:05 +01:00
parent 01d0260898
commit 9629cff64c
3 changed files with 72 additions and 23 deletions

View File

@@ -79,7 +79,7 @@ function openDetailWithName(name: string) {
<DialogTitle> Create new Entry </DialogTitle>
</DialogHeader>
<div class="p-5">
<EntryForm action="create" @submit="(val) => createEntry(val)"> </EntryForm>
<EntryForm action="create" @submit="(val) => createEntry(val)" :entries="entries"> </EntryForm>
</div>
</DialogContent>
</Dialog>
@@ -90,7 +90,7 @@ function openDetailWithName(name: string) {
<DrawerTitle>Create new Entry</DrawerTitle>
</DrawerHeader>
<div class="p-5">
<EntryForm action="create" @submit="(val) => createEntry(val)"> </EntryForm>
<EntryForm action="create" @submit="(val) => createEntry(val)" :entries="entries"> </EntryForm>
</div>
</DrawerContent>
</Drawer>