Monash-FIT3170 / JRVS

Project 4 - FIT3170 - 2024
4 stars 1 forks source link

Feature/delete unit #88

Closed gkur0003 closed 1 month ago

gkur0003 commented 1 month ago

Ability to delete a unit with updates to the database. Addition of an overflow menu to each unit card. Currently has a delete and edit button. Edit has to be implemented.

Edit can be implemented like so (or something like this): -Change line 107 in UnitOverFlowMenu to be handleEditClick -Add a function to handleEditClick -Have an edit function in UnitController with an appropriate route in UnitRoutes that is called by handleEditClick.