aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2022-06-10 15:22:58 +0100
committerMichael Morris <michael.morris@est.tech>2022-06-13 14:21:46 +0000
commit175ed7819a1647d87d847add71da4d5cf47a02fc (patch)
treed478fb39af745d97e31ee912cb06ecd5d757daee /catalog-ui/src/app/models
parent6527ef7840f625dc2d6f3f53145c1ff03e2e0296 (diff)
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 <andre.schmid@est.tech>
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r--catalog-ui/src/app/models/tosca-get-function.ts2
1 files changed, 1 insertions, 1 deletions
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<string>;
- constructor(toscaGetFunction: ToscaGetFunction) {
+ constructor(toscaGetFunction?: ToscaGetFunction) {
if (!toscaGetFunction) {
return;
}