Skip to content

Commit

Permalink
feat: type check in remote config passing
Browse files Browse the repository at this point in the history
  • Loading branch information
markuczy committed Jun 26, 2024
1 parent 547fd12 commit a36f141
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]',
Expand Down Expand Up @@ -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)
}
}
Expand Down

0 comments on commit a36f141

Please sign in to comment.