Fix Req & capabilities tab for component instance 81/115181/3
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>
Thu, 12 Nov 2020 15:58:00 +0000 (15:58 +0000)
committerChristophe Closset <christophe.closset@intl.att.com>
Wed, 2 Dec 2020 16:04:57 +0000 (16:04 +0000)
Issue-ID: SDC-3375
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I8b769e579736a48afc13b1788e84f06b37434d00

catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts

index 50a9eeb..f5f06b8 100644 (file)
@@ -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 = (<Service>originComponent).serviceApiArtifacts;
             this.serviceType = (<Service>originComponent).serviceType;