From 175ed7819a1647d87d847add71da4d5cf47a02fc Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Fri, 10 Jun 2022 15:22:58 +0100 Subject: Disable save for invalid TOSCA function Disable save button for invalid TOSCA functions in the TOSCA function modal. Change-Id: I322f59b20faec17ba0edaa412273ee41c0c2675c Issue-ID: SDC-4047 Signed-off-by: andre.schmid --- catalog-ui/src/app/models/tosca-get-function.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-ui/src/app/models') diff --git a/catalog-ui/src/app/models/tosca-get-function.ts b/catalog-ui/src/app/models/tosca-get-function.ts index 6d5642eaf1..97497fc948 100644 --- a/catalog-ui/src/app/models/tosca-get-function.ts +++ b/catalog-ui/src/app/models/tosca-get-function.ts @@ -31,7 +31,7 @@ export class ToscaGetFunction { functionType: ToscaGetFunctionType; propertyPathFromSource: Array; - constructor(toscaGetFunction: ToscaGetFunction) { + constructor(toscaGetFunction?: ToscaGetFunction) { if (!toscaGetFunction) { return; } -- cgit 1.2.3-korg