diff options
author | JvD_Ericsson <jeff.van.dam@est.tech> | 2022-02-17 15:48:20 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2022-03-10 13:27:17 +0000 |
commit | 767b122ea026099e17a2ffde30e6718d2abf150f (patch) | |
tree | a03f53058977efeeb8e60ec28808775aaaeacb9d /catalog-ui/src/app/models | |
parent | ca1cef5e1c74dc5e8d2fb17864648e94b9b66aa0 (diff) |
Support occurrences on node templates
Issue-ID: SDC-3711
Change-Id: I9f25454faa8be6987f336b7efd3821cfa09585a1
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r-- | catalog-ui/src/app/models/componentsInstances/componentInstance.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/componentsInstances/componentInstance.ts b/catalog-ui/src/app/models/componentsInstances/componentInstance.ts index c3188baa47..86411b2dd5 100644 --- a/catalog-ui/src/app/models/componentsInstances/componentInstance.ts +++ b/catalog-ui/src/app/models/componentsInstances/componentInstance.ts @@ -94,6 +94,8 @@ export class ComponentInstance implements IComponentInstance{ public sourceModelName:string; public sourceModelUid:string; public sourceModelUuid:string; + public minOccurrences: string; + public maxOccurrences: string; //custom properties public certified:boolean; public iconSprite:string; @@ -137,6 +139,8 @@ export class ComponentInstance implements IComponentInstance{ this.originArchived = componentInstance.originArchived; this.directives = componentInstance.directives; this.interfaces = componentInstance.interfaces; + this.minOccurrences = componentInstance.minOccurrences; + this.maxOccurrences = componentInstance.maxOccurrences; } } |