From b6c9ed78e512e2d96f1725ca3748a5f02b31e7df Mon Sep 17 00:00:00 2001 From: JvD_Ericsson Date: Fri, 31 Mar 2023 14:42:07 +0100 Subject: UI support for custom functions Issue-ID: SDC-4466 Signed-off-by: JvD_Ericsson Change-Id: I8ff794be8783dc31efecbd1f6abe2efefec6b819 --- .../tosca-function/tosca-get-function/tosca-get-function.component.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function') diff --git a/catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.ts b/catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.ts index 656d7d6d71..36ead13117 100644 --- a/catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.ts +++ b/catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.ts @@ -387,6 +387,9 @@ export class ToscaGetFunctionComponent implements OnInit, OnChanges { } private hasSameType(property: PropertyBEModel | AttributeBEModel): boolean { + if (this.property.type === PROPERTY_TYPES.ANY) { + return true; + } if (this.typeHasSchema(this.property.type)) { if ((this.property instanceof PropertyDeclareAPIModel && ( this.property).input instanceof DerivedFEProperty) || this.compositionMap) { let childObject : DerivedFEProperty = (( this.property).input); -- cgit 1.2.3-korg