Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4065
Change-Id: I8f80f813ef1d1d6ab01b8730bc0075ddd66235f4
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 {