diff options
Diffstat (limited to 'catalog-ui/src/app')
2 files changed, 2 insertions, 2 deletions
diff --git a/catalog-ui/src/app/ng2/pages/composition/graph/connection-wizard/relationship-operations-step/relationship-operations-step.component.ts b/catalog-ui/src/app/ng2/pages/composition/graph/connection-wizard/relationship-operations-step/relationship-operations-step.component.ts index d595c2b8f6..c093029033 100644 --- a/catalog-ui/src/app/ng2/pages/composition/graph/connection-wizard/relationship-operations-step/relationship-operations-step.component.ts +++ b/catalog-ui/src/app/ng2/pages/composition/graph/connection-wizard/relationship-operations-step/relationship-operations-step.component.ts @@ -64,7 +64,7 @@ export class RelationshipOperationsStepComponent implements OnInit, IStepCompone } private loadInterfaceTypeMap(): void { - this.componentService.getInterfaceTypes(null).subscribe(response => { + this.componentService.getInterfaceTypes(this.component).subscribe(response => { for (const interfaceType in response) { let operationList = response[interfaceType]; //ignore interfaceTypes that doesn't contain operations 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) { |