generated from Archit404Error/MERN-webapp
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow supervisors to cancel events (#245)
* Added Tanstack Mutation for canceling events and modal * In EventCardNew.tsx we added functionality to display if an event is canceled in red text. Also added a event status column to past events in ViewEvents.tsx * feat: Add functionality to display canceled events and event status column * Add check for past events when disabling buttons * Format * FIX: Cancel event button is grayed out even if event is upcoming and is not canceled. * Add visual alert to EventForm * Remove disablePastEvent functionality * Fix modal * a --------- Co-authored-by: Akinfolami Akin-Alamu <aoa9@cornell.edu> Co-authored-by: Jason Zheng <jasonz4200@gmail.com>
- Loading branch information
1 parent
b3cd1c2
commit 9d442dd
Showing
7 changed files
with
155 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters