INNER CODE UNIT · TypeScript

App

Quenary/tugtainer · frontend/src/app/app.ts:44

export class App {
  private readonly translateService = inject(TranslateService);
  private readonly router = inject(Router);
  private readonly activatedRoute = inject(ActivatedRoute);
  protected readonly appStore = inject(AppStore);

  /**
   * Whether to show new version dialog
   */
  protected readonly showNewVersionDialog = signal<boolean>(false);
  /**
   * Breadcrumbs list
   */
  protected readonly breadcrumbs$: Observable<MenuItem[]> = combineLatest([
    this.router.events.pipe(
      filter((ev) => ev instanceof NavigationEnd),
      map(() => this.activatedRoute),
      startWith(this.activatedRoute),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…