From 562577c33c08d1c6716676d6d7501693b08b9f21 Mon Sep 17 00:00:00 2001 From: KrupaNagabhushan Date: Thu, 12 Nov 2020 15:58:00 +0000 Subject: Fix Req & capabilities tab for component instance Issue-ID: SDC-3375 Signed-off-by: KrupaNagabhushan Change-Id: I8b769e579736a48afc13b1788e84f06b37434d00 --- catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'catalog-ui/src/app/models') diff --git a/catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts b/catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts index 50a9eeb1d1..f5f06b8aba 100644 --- a/catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts +++ b/catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts @@ -66,7 +66,8 @@ export class FullComponentInstance extends ComponentInstance { this.directives = componentInstance.directives; - if(originComponent.componentType === ComponentType.SERVICE || originComponent.componentType === ComponentType.SERVICE_PROXY || ComponentType.SERVICE_SUBSTITUTION){ + if(originComponent.componentType === ComponentType.SERVICE || originComponent.componentType + === ComponentType.SERVICE_PROXY || originComponent.componentType === ComponentType.SERVICE_SUBSTITUTION) { this.isServiceInstance = true; this.serviceApiArtifacts = (originComponent).serviceApiArtifacts; this.serviceType = (originComponent).serviceType; -- cgit 1.2.3-korg