summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/configurationApp/src/actions
diff options
context:
space:
mode:
authorAijana Schumann <aijana.schumann@highstreet-technologies.com>2020-10-07 13:51:14 +0200
committerAijana Schumann <aijana.schumann@highstreet-technologies.com>2020-10-07 13:51:14 +0200
commitaee5dc5c1a62ba13c792028e9eea5886a680eb79 (patch)
tree1d821337a3f01b7b4374dae2662bb2420958b55b /sdnr/wt/odlux/apps/configurationApp/src/actions
parentd5bea98dfb5ff7dafb9adaecea53a4d6a9987102 (diff)
ConfigApp bugfixes
fix remove button in lists and boolean filters not working, fix delay-period not configurable Issue-ID: CCSDK-2878 Signed-off-by: Aijana Schumann <aijana.schumann@highstreet-technologies.com> Change-Id: I49f03840de6092f9ac4641b7c98785b5feb760b4
Diffstat (limited to 'sdnr/wt/odlux/apps/configurationApp/src/actions')
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts b/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts
index 1db66c0d4..790d2515c 100644
--- a/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts
+++ b/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts
@@ -49,6 +49,9 @@ export class UpdatOutputData extends Action {
export const updateNodeIdAsyncActionCreator = (nodeId: string) => async (dispatch: Dispatch, getState: () => IApplicationStoreState ) => {
+ dispatch(new UpdateDeviceDescription("", {}, []));
+ dispatch(new SetCollectingSelectionData(true));
+
const availableCapabilities = await restService.getCapabilitiesByMoutId(nodeId);
if (!availableCapabilities || availableCapabilities.length <= 0) {
@@ -70,7 +73,7 @@ export const updateNodeIdAsyncActionCreator = (nodeId: string) => async (dispatc
parser.postProcess();
- console.log(parser.modules, parser.views)
+ dispatch(new SetCollectingSelectionData(false));
return dispatch(new UpdateDeviceDescription(nodeId, parser.modules, parser.views));
}