diff --git a/frontend/src/app/store/reducers/case-thunks.ts b/frontend/src/app/store/reducers/case-thunks.ts index 87a0c36ed..2829776c0 100644 --- a/frontend/src/app/store/reducers/case-thunks.ts +++ b/frontend/src/app/store/reducers/case-thunks.ts @@ -701,11 +701,11 @@ export const deleteEquipment = if (res) { // remove equipment from state const { - cases: { equipment }, + cases: { equipment, note, subject, reviewComplete }, } = getState(); const updatedEquipment = equipment?.filter((equipment) => equipment.id !== id); - dispatch(setCaseFile({ equipment: updatedEquipment })); + dispatch(setCaseFile({ equipment: updatedEquipment, note, subject, reviewComplete })); ToggleSuccess(`Equipment has been deleted`); } else { ToggleError(`Unable to update equipment`);