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"
|
name="purpose"
|
||||||
value={purpose}
|
value={purpose}
|
||||||
onChange={onChangeEvent}
|
onChange={onChangeEvent}
|
||||||
required
|
|
||||||
/>
|
/>
|
||||||
<Input
|
<Input
|
||||||
label="Ziel der Fahrt"
|
label="Ziel der Fahrt"
|
||||||
name="destination"
|
name="destination"
|
||||||
value={destination}
|
value={destination}
|
||||||
onChange={onChangeEvent}
|
onChange={onChangeEvent}
|
||||||
required
|
|
||||||
/>
|
/>
|
||||||
<Input label="Verein" name="org" value={org} onChange={onChangeEvent} />
|
<Input label="Verein" name="org" value={org} onChange={onChangeEvent} />
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ export interface BookingDocument
|
|||||||
startDate: Date
|
startDate: Date
|
||||||
endDate: Date
|
endDate: Date
|
||||||
status: BOOKING_STATUS
|
status: BOOKING_STATUS
|
||||||
purpose: string
|
purpose?: string
|
||||||
org: string
|
org?: string
|
||||||
destination: string
|
destination?: string
|
||||||
days?: string[]
|
days?: string[]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user