summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/componentsInstances
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2022-02-17 15:48:20 +0000
committerMichael Morris <michael.morris@est.tech>2022-03-10 13:27:17 +0000
commit767b122ea026099e17a2ffde30e6718d2abf150f (patch)
treea03f53058977efeeb8e60ec28808775aaaeacb9d /catalog-ui/src/app/models/componentsInstances
parentca1cef5e1c74dc5e8d2fb17864648e94b9b66aa0 (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/componentsInstances')
-rw-r--r--catalog-ui/src/app/models/componentsInstances/componentInstance.ts4
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;
}
}