@onecx/angular-accelerator 7.0.0-rc.1 → 7.0.0-rc.2

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.
@@ -61,7 +61,7 @@ import { FocusTrapModule } from 'primeng/focustrap';
61
61
  import * as i3$5 from 'primeng/timeline';
62
62
  import { TimelineModule } from 'primeng/timeline';
63
63
  import { DynamicDialogConfig, DynamicDialogRef, DialogService } from 'primeng/dynamicdialog';
64
- import { EventsTopic } from '@onecx/integration-interface';
64
+ import { EventsTopic, EventType } from '@onecx/integration-interface';
65
65
  import { providePrimeNG } from 'primeng/config';
66
66
 
67
67
  class OcxContentContainerDirective {
@@ -5489,7 +5489,7 @@ class PortalDialogService {
5489
5489
  });
5490
5490
  let observable = this.appStateService.currentLocation$.asObservable();
5491
5491
  if (!this.capabilityService.hasCapability(Capability.CURRENT_LOCATION_TOPIC)) {
5492
- observable = this.eventsTopic.pipe(filter((e) => e.type === 'navigated'));
5492
+ observable = this.eventsTopic.pipe(filter((e) => e.type === EventType.NAVIGATED));
5493
5493
  }
5494
5494
  observable.subscribe(() => {
5495
5495
  this.cleanupAndCloseDialog();