summaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts')
-rw-r--r--cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts b/cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts
index edcf1c38a..b6c23ecf8 100644
--- a/cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts
+++ b/cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts
@@ -50,6 +50,12 @@ export function blueprintReducer(state: IBlueprintState = initialBlueprintState,
return {...state,
blueprint: action.payload
}
+ case BlueprintActions.SET_BLUEPRINT_STATE :
+ return {...state,
+ blueprint: action.payload.blueprint,
+ files: action.payload.files,
+ filesData: action.payload.filesData
+ }
default:
return state;
}