diff options
author | 2020-10-07 16:36:59 +0200 | |
---|---|---|
committer | 2020-10-07 16:36:59 +0200 | |
commit | 3ef0d18fcb16931a0c93d91ae6fbf8edda09ecc9 (patch) | |
tree | b4a731ec2311296e58280e0001ddc80ed26f9dac /sdnr/wt/odlux/apps/configurationApp/src/models | |
parent | aee5dc5c1a62ba13c792028e9eea5886a680eb79 (diff) |
ConfigApp bugfix
Fix interface list is not visible
Issue-ID: CCSDK-2880
Signed-off-by: Aijana Schumann <aijana.schumann@highstreet-technologies.com>
Change-Id: I090a298a925ada52eda603c8a24cf6d577a7b5e6
Diffstat (limited to 'sdnr/wt/odlux/apps/configurationApp/src/models')
-rw-r--r-- | sdnr/wt/odlux/apps/configurationApp/src/models/uiModels.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/models/uiModels.ts b/sdnr/wt/odlux/apps/configurationApp/src/models/uiModels.ts index f0391eebf..a5a52fc2e 100644 --- a/sdnr/wt/odlux/apps/configurationApp/src/models/uiModels.ts +++ b/sdnr/wt/odlux/apps/configurationApp/src/models/uiModels.ts @@ -101,7 +101,7 @@ export type ViewElementList = (ViewElementBase & { export type ViewElementReference = ViewElementBase & { "uiType": "reference"; "referencePath": string; - "ref": (currentPath: string) => ViewElement | null; + "ref": (currentPath: string) => [ViewElement , string] | undefined; } export type ViewElementUnion = ViewElementBase & { @@ -196,13 +196,14 @@ export const ResolveFunction = Symbol("IsResolved"); export type ViewSpecification = { "id": string; + "ns"?: string; "name"?: string; "title"?: string; "parentView"?: string; "language": string; "ifFeature"?: string; "when"?: string; - "uses"?: (string[]) & { [ResolveFunction]?: () => void }; + "uses"?: (string[]) & { [ResolveFunction]?: (parent: string) => void }; "elements": { [name: string]: ViewElement }; readonly "canEdit": boolean; } |