aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui')
-rw-r--r--catalog-ui/src/app/models/components/service.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/catalog-ui/src/app/models/components/service.ts b/catalog-ui/src/app/models/components/service.ts
index 1c7c6b60b4..5bb42d1910 100644
--- a/catalog-ui/src/app/models/components/service.ts
+++ b/catalog-ui/src/app/models/components/service.ts
@@ -198,10 +198,9 @@ export class Service extends Component {
return 'services/';
}
-
public setComponentMetadata(componentMetadata: ComponentMetadata) {
super.setComponentMetadata(componentMetadata);
- this.ecompGeneratedNaming = componentMetadata.ecompGeneratedNaming;
+ this.ecompGeneratedNaming = componentMetadata.ecompGeneratedNaming != undefined && componentMetadata.ecompGeneratedNaming;
this.namingPolicy = componentMetadata.namingPolicy;
this.serviceType = componentMetadata.serviceType;
this.serviceRole = componentMetadata.serviceRole;