From 3ef0d18fcb16931a0c93d91ae6fbf8edda09ecc9 Mon Sep 17 00:00:00 2001 From: Aijana Schumann Date: Wed, 7 Oct 2020 16:36:59 +0200 Subject: ConfigApp bugfix Fix interface list is not visible Issue-ID: CCSDK-2880 Signed-off-by: Aijana Schumann Change-Id: I090a298a925ada52eda603c8a24cf6d577a7b5e6 --- .../src/views/configurationApplication.tsx | 72 +--------------------- 1 file changed, 2 insertions(+), 70 deletions(-) (limited to 'sdnr/wt/odlux/apps/configurationApp/src/views') diff --git a/sdnr/wt/odlux/apps/configurationApp/src/views/configurationApplication.tsx b/sdnr/wt/odlux/apps/configurationApp/src/views/configurationApplication.tsx index fc3c68e88..7b927785d 100644 --- a/sdnr/wt/odlux/apps/configurationApp/src/views/configurationApplication.tsx +++ b/sdnr/wt/odlux/apps/configurationApp/src/views/configurationApplication.tsx @@ -332,6 +332,7 @@ class ConfigurationApplicationComponent extends React.Component ) : null ; } - - // // do not show elements w/o any value from the backend - // if (viewData[uiElement.id] == null && !editMode) { - // return null; - // } else if (isViewElementEmpty(uiElement)) { - // return null; - // } else if (uiElement.isList) { - // /* element is a leaf-list */ - // return { this.changeValueFor(uiElement.id, e) }} - // />; - // } else if (isViewElementSelection(uiElement)) { - - // return { this.changeValueFor(uiElement.id, e) }} - // /> - - // } else if (isViewElementBoolean(uiElement)) { - // return { this.changeValueFor(uiElement.id, e) }} /> - - // } else if (isViewElementString(uiElement)) { - // return { this.changeValueFor(uiElement.id, e) }} /> - - // } else if (isViewElementNumber(uiElement)) { - // return { this.changeValueFor(uiElement.id, e) }} /> - // } else if (isViewElementUnion(uiElement)) { - // return { this.changeValueFor(uiElement.id, e) }} /> - // } else { - // if (process.env.NODE_ENV !== "production") { - // console.error(`Unknown element type - ${(uiElement as any).uiType} in ${(uiElement as any).id}.`) - // } - // return null; - // } }; // private renderUIReference = (uiElement: ViewElement, viewData: { [key: string]: any }, keyProperty: string | undefined, editMode: boolean, isNew: boolean) => { @@ -817,4 +749,4 @@ class ConfigurationApplicationComponent extends React.Component