As a user, I should be able update the quantities (remove/add) individual souvenir items, show items, staff members, and food items that have been added to the event without deleting/adding them completely from Firebase.
AC
When a user is authenticated
And on an event page
Then a user can click on an individual component (staff, souvenir, show, food)
And change the quantity.
Dev Notes
Create a component to edit an entire event - src/javascripts/components/editEvent/editEvent.js
Create individual components to edit each item on an event -src/javascripts/components/editEventFood/editEventFood.js
User Story
As a user, I should be able update the quantities (remove/add) individual souvenir items, show items, staff members, and food items that have been added to the event without deleting/adding them completely from Firebase.
AC
When a user is authenticated And on an event page Then a user can click on an individual component (staff, souvenir, show, food) And change the quantity.
Dev Notes
src/javascripts/components/editEventFood/editEventFood.js
src/javascripts/components/editEventStaff/editEventStaff.js
src/javascripts/components/editEventShow/editEventShow.js
src/javascripts/components/editEventSouvenirs/editEventSouvenirs.js
$('body'). on('click', '.edit-eventStaff', editEventStaff)
$('body'). on('click', '.edit-eventSouvenirs', editEventSouvenirs)
$('body'). on('click', '.edit-eventFoods', editEventFoods)
$('body').on('click', '.edit-eventShows', editEventShows)