Skip to content

Commit 3bc105f

Browse files
committed
Fixed a bug where a tour could not be ended due to a missing form param.
1 parent 100a6c0 commit 3bc105f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ vite.config.js.timestamp-*
88
/library
99
*.bak
1010
.pnpm-store
11-
.mcp.json
11+
.mcp.jsonp
12+
/prisma/dev.db

src/routes/entry/tour/[id]/end/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888

8989
<Section title="Details">
9090
<Entry.Select required={true} title="Company" options={['NetJets', 'Cape Air']} placeholder="Unset" name="company" defaultValue={data.currentTour?.companyId ?? 'NetJets'} />
91-
<Entry.Switch required={true} title="Line Check" name="line-check" defaultValue={false} />
91+
<Entry.Switch required={true} title="Training Event" name="training-event" defaultValue={false} />
9292
</Section>
9393
<Section title="Notes">
9494
<Entry.TextField name="notes" placeholder="Enter Notes" defaultValue={null} />

0 commit comments

Comments
 (0)