From 3014f76845b6f17b2b389ec08773bec506494f6f Mon Sep 17 00:00:00 2001 From: ShaabanEltanany Date: Wed, 30 Sep 2020 10:48:55 +0200 Subject: improving creating the package Issue-ID: CCSDK-2298 Signed-off-by: ShaabanEltanany Change-Id: Id50c6d0ee1bf4336e1eba6a9491b15c778cec4e8 --- .../configuration-dashboard/configuration-dashboard.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard') diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts index fbdfd007a..dc5697f78 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts @@ -284,7 +284,8 @@ export class ConfigurationDashboardComponent extends ComponentCanDeactivate impl checkSkipTypesOfAction() { console.log(this.cbaPackage); - if (this.cbaPackage.templateTopology.node_templates && this.cbaPackage.templateTopology.workflows) { + if (this.cbaPackage.templateTopology && this.cbaPackage.templateTopology.node_templates + && this.cbaPackage.templateTopology.workflows) { this.goToDesignerMode(this.id); } else { this.dataTarget = '#exampleModalLong'; -- cgit 1.2.3-korg