summaryrefslogtreecommitdiffstats
path: root/catalog-ui
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2020-11-12 15:58:00 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2020-12-02 16:04:57 +0000
commit562577c33c08d1c6716676d6d7501693b08b9f21 (patch)
tree2e1fa4ada3505a6c8180138552660a57325b1065 /catalog-ui
parent8f3f8797dc916be0215523fb3d36f020b4795089 (diff)
Fix Req & capabilities tab for component instance
Issue-ID: SDC-3375 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I8b769e579736a48afc13b1788e84f06b37434d00
Diffstat (limited to 'catalog-ui')
-rw-r--r--catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts3
1 files changed, 2 insertions, 1 deletions
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 = (<Service>originComponent).serviceApiArtifacts;
this.serviceType = (<Service>originComponent).serviceType;