Skip to content

Commit 103852b

Browse files
committed
fix: scheduleWorkOrder
1 parent eef2d78 commit 103852b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

frontend/src/slices/workload.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,10 @@ export const scheduleWorkOrder =
224224
}
225225
dispatch(slice.actions.removeFromUnscheduled({ id: workOrderId }));
226226
dispatch(slice.actions.removeWoFromOverview({ workOrderId }));
227-
const workOrder = woInContent || woInDays;
227+
const workOrder = {
228+
...woInContent,
229+
...woInDays
230+
};
228231
dispatch(
229232
slice.actions.addWoToUserDay({
230233
workOrder: {

0 commit comments

Comments
 (0)