From 461f32d6c1a6569b3fbd6d4a6b383013b3e946da Mon Sep 17 00:00:00 2001 From: brookshi Date: Tue, 16 Jan 2018 13:50:01 +0800 Subject: [PATCH] compatible old version --- client/src/reducer/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/reducer/index.ts b/client/src/reducer/index.ts index 9299630..f21749f 100644 --- a/client/src/reducer/index.ts +++ b/client/src/reducer/index.ts @@ -156,7 +156,7 @@ export function multipleStateReducer(state: State, action: any): State { }, scheduleState: { ...state.scheduleState, - scheduleRecordsInfo: scheduleState.scheduleRecordsInfo, + scheduleRecordsInfo: scheduleState.scheduleRecordsInfo || {}, activeSchedule: scheduleState.activeSchedule } };