You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, I should be able to edit my spellin' mistakes on Staff.
AC
WHEN the logged-in user visits the Staff section of the site via the homepage THEN they should see all of the current staff on display AND there should also be a visible option to edit the staff AND once they edit the item, it should be changed in the firebase database AND they should see it change on the display when they hit the update button AND if the user is not logged in, they should not see an option to edit
Dev Notes
use a const getStaff function and axios.get in staffData.js to obtain the staffId
easier option: use dataset or modal to bring up the edit form on the same page
User Story
As a user, I should be able to edit my spellin' mistakes on Staff.
AC
WHEN the logged-in user visits the Staff section of the site via the homepage
THEN they should see all of the current staff on display
AND there should also be a visible option to edit the staff
AND once they edit the item, it should be changed in the firebase database
AND they should see it change on the display when they hit the update button
AND if the user is not logged in, they should not see an option to edit
Dev Notes
const getStaff
function andaxios.get
instaffData.js
to obtain the staffIdeditStaff.js
filestaffData.js
file:staffId
The text was updated successfully, but these errors were encountered: