diff options
author | davsad <david.sadlier@est.tech> | 2021-07-24 19:40:56 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2021-08-06 15:22:51 +0000 |
commit | 0ed125f98ae8ea9e80c855a640c328654660d081 (patch) | |
tree | 2ff63490ba093726164a1199aeef6605bb3652ff /catalog-ui/src/app/ng2/services | |
parent | 84aa83e9203d6f890cc5f425a00ac748d47c5c8f (diff) |
Consider component model when retrieving interface types
Issue-ID: SDC-3414
Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: Ie16a2604cfdff042e32bfa4f9a3a509b5da22226
Diffstat (limited to 'catalog-ui/src/app/ng2/services')
-rw-r--r-- | catalog-ui/src/app/ng2/services/component-services/component.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/services/component-services/component.service.ts b/catalog-ui/src/app/ng2/services/component-services/component.service.ts index d406cf05f6..5d7b37f0fa 100644 --- a/catalog-ui/src/app/ng2/services/component-services/component.service.ts +++ b/catalog-ui/src/app/ng2/services/component-services/component.service.ts @@ -210,7 +210,7 @@ export class ComponentServiceNg2 { } getInterfaceTypes(component:Component):Observable<{[id:string]: Array<string>}> { - return this.http.get<any>(this.baseUrl + 'interfaceLifecycleTypes') + return this.http.get<any>(this.baseUrl + 'interfaceLifecycleTypes' + ((component && component.model) ? '?model=' + component.model : '')) .map((res: any) => { const interfaceMap = {}; if (!res) { |