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;
|
let newState: IProject[] = null;
|
||||||
|
|
||||||
switch (action.type) {
|
switch (action.type) {
|
||||||
|
case ActionTypes.LOAD_PROJECT_SUCCESS:
|
||||||
case ActionTypes.SAVE_PROJECT_SUCCESS:
|
case ActionTypes.SAVE_PROJECT_SUCCESS:
|
||||||
return [
|
return [
|
||||||
{ ...action.payload },
|
{ ...action.payload },
|
||||||
|
|
Загрузка…
Ссылка в новой задаче