@smartbit4all/ng-client 7.3.22 → 7.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18809,7 +18809,10 @@ class SmartComponentApiClient {
18809
18809
  this.uiActionDescriptorService = inject.get(UiActionDescriptorService);
18810
18810
  // After the slot is claimed above, so the execution finds this client as its component.
18811
18811
  this.execution = runInInjectionContext(inject, injectUiActionExecution);
18812
- this.keybindingHost = (inject.get(ElementRef, null) ?? element)?.nativeElement;
18812
+ // Hosts rarely pass these to super(), and the backend style of the view needs them.
18813
+ this.element ??= inject.get(ElementRef, null) ?? undefined;
18814
+ this.renderer ??= inject.get(Renderer2, null) ?? undefined;
18815
+ this.keybindingHost = this.element?.nativeElement;
18813
18816
  }
18814
18817
  _ngOnInit() {
18815
18818
  this.run();