change updateEquipment to remove quantity and status
change getEquipmentToUpdate to remove $('#update-equipment-quantity').val(${equipment.quantity});
in equipmentData.js:
change get call in updateEquipmentInfo to filter by type instead of getting a specific id
change updateEquipmentInfo to forEach loop over the Object.keys returned from the get call, and update only description & type, then call updateEquipment in the forEach loop
User Story
As a user, I want the update functionality to work with the new data structure
A/C
when the user updates equipment then the status and quantity values will no longer change/exist
Dev Notes
in index.html:
in equipment.js:
${equipment.quantity}
);in equipmentData.js: