disable corruption repair
This commit is contained in:
parent
04a9d5ac7f
commit
2442a65dd3
1 changed files with 3 additions and 0 deletions
|
@ -392,6 +392,8 @@ export const getShowplan = (timeslotId: number): AppThunk => async dispatch => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ops.length > 0) {
|
if (ops.length > 0) {
|
||||||
|
console.log("Is corrupt, but we're not going to repair it :)")
|
||||||
|
/*
|
||||||
console.log("Repairing showplan", ops);
|
console.log("Repairing showplan", ops);
|
||||||
const updateResult = await api.updateShowplan(timeslotId, ops);
|
const updateResult = await api.updateShowplan(timeslotId, ops);
|
||||||
if (!updateResult.every(x => x.status)) {
|
if (!updateResult.every(x => x.status)) {
|
||||||
|
@ -399,6 +401,7 @@ export const getShowplan = (timeslotId: number): AppThunk => async dispatch => {
|
||||||
dispatch(showplan.actions.getShowplanError("Repair failed!"));
|
dispatch(showplan.actions.getShowplanError("Repair failed!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
dispatch(showplan.actions.getShowplanSuccess(plan.flat(2)));
|
dispatch(showplan.actions.getShowplanSuccess(plan.flat(2)));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in a new issue