mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
make org, purpose, destination optional
This commit is contained in:
@@ -14,14 +14,12 @@ export default function Contact() {
|
||||
name="purpose"
|
||||
value={purpose}
|
||||
onChange={onChangeEvent}
|
||||
required
|
||||
/>
|
||||
<Input
|
||||
label="Ziel der Fahrt"
|
||||
name="destination"
|
||||
value={destination}
|
||||
onChange={onChangeEvent}
|
||||
required
|
||||
/>
|
||||
<Input label="Verein" name="org" value={org} onChange={onChangeEvent} />
|
||||
</>
|
||||
|
||||
@@ -12,9 +12,9 @@ export interface BookingDocument
|
||||
startDate: Date
|
||||
endDate: Date
|
||||
status: BOOKING_STATUS
|
||||
purpose: string
|
||||
org: string
|
||||
destination: string
|
||||
purpose?: string
|
||||
org?: string
|
||||
destination?: string
|
||||
days?: string[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user