From 2442a65dd32f2db3fe48d6c315746b8667f5f5d4 Mon Sep 17 00:00:00 2001 From: Marks Polakovs Date: Mon, 23 Mar 2020 14:59:38 +0100 Subject: [PATCH] disable corruption repair --- src/showplanner/state.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/showplanner/state.ts b/src/showplanner/state.ts index 9393bab..9f71c0d 100644 --- a/src/showplanner/state.ts +++ b/src/showplanner/state.ts @@ -392,6 +392,8 @@ export const getShowplan = (timeslotId: number): AppThunk => async dispatch => { } if (ops.length > 0) { + console.log("Is corrupt, but we're not going to repair it :)") + /* console.log("Repairing showplan", ops); const updateResult = await api.updateShowplan(timeslotId, ops); if (!updateResult.every(x => x.status)) { @@ -399,6 +401,7 @@ export const getShowplan = (timeslotId: number): AppThunk => async dispatch => { dispatch(showplan.actions.getShowplanError("Repair failed!")); return; } + */ } dispatch(showplan.actions.getShowplanSuccess(plan.flat(2))); } catch (e) {