@nova-ui/dashboards 15.0.10 → 15.0.12

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.
@@ -3546,6 +3546,7 @@ class ComponentPortalDirective {
3546
3546
  ngOnDestroy() {
3547
3547
  this.logger.debug("Portal destroyed:", this.componentId);
3548
3548
  this.destroyProviders();
3549
+ this.listenerUnsubscriber?.();
3549
3550
  this.destroy$.next();
3550
3551
  this.destroy$.complete();
3551
3552
  }
@@ -3553,7 +3554,7 @@ class ComponentPortalDirective {
3553
3554
  this.component = componentRef.instance;
3554
3555
  // ctrl+shift+click on a pizzagna to get a dump of its properties
3555
3556
  // this will propagate through the parent components, so it should dump the parent pizzagnas as well
3556
- this.renderer.listen(componentRef.location.nativeElement, "click", (event) => {
3557
+ this.listenerUnsubscriber = this.renderer.listen(componentRef.location.nativeElement, "click", (event) => {
3557
3558
  // event.metaKey is a CMD key for Mac
3558
3559
  if ((event.ctrlKey || event.metaKey) &&
3559
3560
  event.shiftKey &&