diff --git a/libs/angular-remote-components/src/lib/components/slot/slot.component.ts b/libs/angular-remote-components/src/lib/components/slot/slot.component.ts index b3dded71..23197587 100644 --- a/libs/angular-remote-components/src/lib/components/slot/slot.component.ts +++ b/libs/angular-remote-components/src/lib/components/slot/slot.component.ts @@ -15,6 +15,7 @@ import { BehaviorSubject, Subscription, Observable, combineLatest } from 'rxjs' import { RemoteComponentInfo, SLOT_SERVICE, SlotComponentConfiguration, SlotService } from '../../services/slot.service' import { ocxRemoteComponent } from '../../model/remote-component' import { Technologies } from '@onecx/integration-interface' +import { RemoteComponentConfig } from '../../model/remote-component-config.model' @Component({ selector: 'ocx-slot[name]', @@ -89,7 +90,7 @@ export class SlotComponent implements OnInit, OnDestroy { productName: componentInfo.remoteComponent.productName, baseUrl: componentInfo.remoteComponent.baseUrl, permissions: permissions, - } + } satisfies RemoteComponentConfig viewContainer?.element.nativeElement.appendChild(element) } }