feat: open the next three months of Wednesday shifts on the public list
Volunteers can see who is signed up, and a full shift stays closed. Coordinators can see a contact's current and past shifts.
This commit is contained in:
1 parent
e7c99a788e
commit
1a8959c86a
26 files changed
+1402
-192
No files matched your search
@@ -91,6 +91,7 @@ import {
|
||||
parseContactSkips,
|
||||
removeContact,
|
||||
saveManualContact,
|
||||
contactSignupShifts,
|
||||
walkInFromContact,
|
||||
type ContactImportSummary,
|
||||
type ContactManualErrors,
|
||||
@@ -474,6 +475,7 @@ function showContact(
|
||||
config={services.config}
|
||||
csrf={session.csrf}
|
||||
contact={contact}
|
||||
signedUp={contactSignupShifts(services.db, contact, services.now())}
|
||||
shifts={listOpenShiftsForPerson(services.db, { email: contact.email, name: contact.name }, services.now())}
|
||||
form={state?.form ?? blankWalkIn(services, contact.id)}
|
||||
shiftId={state?.shiftId ?? ''}
|
||||
|
||||
Reference in new issue
Block a user