refresh currentProjects when load project (#615)
This commit is contained in:
Родитель
3044cc51a9
Коммит
53044f72dd
|
@ -22,6 +22,7 @@ export const reducer = (state: IProject[] = [], action: AnyAction): IProject[] =
|
|||
let newState: IProject[] = null;
|
||||
|
||||
switch (action.type) {
|
||||
case ActionTypes.LOAD_PROJECT_SUCCESS:
|
||||
case ActionTypes.SAVE_PROJECT_SUCCESS:
|
||||
return [
|
||||
{ ...action.payload },
|
||||
|
|
Загрузка…
Ссылка в новой задаче