summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/configurationApp/src/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/configurationApp/src/handlers')
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/handlers/configurationAppRootHandler.ts14
1 files changed, 12 insertions, 2 deletions
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/handlers/configurationAppRootHandler.ts b/sdnr/wt/odlux/apps/configurationApp/src/handlers/configurationAppRootHandler.ts
index 4b982149a..f82d08a1b 100644
--- a/sdnr/wt/odlux/apps/configurationApp/src/handlers/configurationAppRootHandler.ts
+++ b/sdnr/wt/odlux/apps/configurationApp/src/handlers/configurationAppRootHandler.ts
@@ -44,7 +44,14 @@ export const configurationAppRootHandler: IActionHandler<IConfigurationAppStoreS
state = {
...state,
nodeId: action.nodeId,
- coreModel: action.coreModel
+ coreModel: action.coreModel,
+ lpId: undefined,
+ capability: undefined,
+ conditionalPackage: undefined,
+ viewSpecifications: [],
+ viewData: { },
+ indexValues: undefined,
+ viewId: undefined,
};
} else if (action instanceof UpdateLp) {
state = {
@@ -52,7 +59,10 @@ export const configurationAppRootHandler: IActionHandler<IConfigurationAppStoreS
lpId: action.lpId,
capability: action.capability,
conditionalPackage: action.conditionalPackage,
- viewSpecifications: action.viewSpecifications
+ viewSpecifications: action.viewSpecifications,
+ viewData: { },
+ indexValues: undefined,
+ viewId: undefined,
};
} else if (action instanceof UpdateViewData) {
state = {