UoaWDCC / uasc-web

Project with the University of Auckland Snowsports Club Website & Booking System. Established in 2023.
https://uasc.co.nz
6 stars 2 forks source link

allow form to be used for both editing and creating #815

Open bcho892 opened 1 week ago

bcho892 commented 1 week ago

Added two props to the AdminEventForm:

Which allow the form to be used to send edit requests with the PATCH endpoint for events

Normal Create View

image

Editing View

image

github-actions[bot] commented 1 week ago

Visit the preview URL for this PR (updated for commit aefd8b1):

https://uasc-ceebc--pr815-779-frontend-create-gyyhqehs.web.app

(expires Fri, 01 Nov 2024 05:29:38 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 36296ceaed1d43e92e7d5e81a72a7bd987560bfa