fix(ui): avoid CSS transition on page navigation (#1833)

This commit is contained in:
Alex
2026-06-28 08:36:59 +01:00
committed by GitHub
parent c2c867ead4
commit be574d5b16
3 changed files with 33 additions and 0 deletions
+4
View File
@@ -6,6 +6,7 @@ import { RxStompService } from './app/shared/websocket/rx-stomp.service';
import { rxStompServiceFactory } from './app/shared/websocket/rx-stomp-service-factory';
import { provideRouter, RouteReuseStrategy } from '@angular/router';
import { CustomReuseStrategy } from './app/core/custom-reuse-strategy';
import { NavigationTransitionGuard } from './app/core/navigation-transition-guard';
import { providePrimeNG } from 'primeng/config';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app/app.component';
@@ -41,6 +42,9 @@ bootstrapApplication(AppComponent, {
const startup = inject(StartupService);
return Promise.resolve(initializeAuth()).then(() => startup.load());
}),
provideAppInitializer(() => {
inject(NavigationTransitionGuard);
}),
provideHttpClient(withInterceptors([AuthInterceptorService])),
provideRouter(routes),
DialogService,