fix(ui): simplify control transition guard (#2171)

This commit is contained in:
Alex
2026-08-03 16:16:36 +01:00
committed by GitHub
parent 754637aee5
commit d77a580ebb
21 changed files with 82 additions and 53 deletions
-4
View File
@@ -6,7 +6,6 @@ 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 { provideOptimus } from '@openng/optimus-ui/config';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app/app.component';
@@ -44,9 +43,6 @@ bootstrapApplication(AppComponent, {
const startup = inject(StartupService);
return Promise.resolve(initializeAuth()).then(() => startup.load());
}),
provideAppInitializer(() => {
inject(NavigationTransitionGuard);
}),
provideHttpClient(withInterceptors([AuthInterceptorService])),
provideRouter(routes),
DialogService,