diff options
author | MichaelMorris <michael.morris@est.tech> | 2022-06-24 11:30:03 +0100 |
---|---|---|
committer | Andr� Schmid <andre.schmid@est.tech> | 2022-06-24 14:24:17 +0000 |
commit | 542a682564423d706fbbf27293c66c66eddf5f6f (patch) | |
tree | 1b7cba7d63f84fed7c4c69f21d92f3c63d3b6164 /catalog-ui/src/app/ng2/pages/composition | |
parent | 363d9a6fea48bf6f34e4f1d4ecb37d33812c7626 (diff) |
Make instance count optional
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4065
Change-Id: I8f80f813ef1d1d6ab01b8730bc0075ddd66235f4
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/composition')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts index 6bb697be2c..04bed37e37 100644 --- a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts +++ b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts @@ -286,8 +286,7 @@ export class PropertiesTabComponent implements OnInit { if( (component.minOccurrences === null && component.maxOccurrences === null && !component.instanceCount) || (component.minOccurrences && parseInt(component.minOccurrences) >= 0 && component.maxOccurrences && - (parseInt(component.maxOccurrences) >= parseInt(component.minOccurrences) || component.maxOccurrences === "UNBOUNDED") && - component.instanceCount) + (parseInt(component.maxOccurrences) >= parseInt(component.minOccurrences) || component.maxOccurrences === "UNBOUNDED")) ) { return true; } else { |