fix components

This commit is contained in:
2026-07-30 11:56:57 +02:00
parent c446aa2b04
commit 85886a094a
156 changed files with 4180 additions and 7466 deletions

View File

@@ -5,7 +5,10 @@ import {
provideBrowserGlobalErrorListeners,
} from '@angular/core';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { provideRouter, withInMemoryScrolling } from '@angular/router';
import { provideStore } from '@ngrx/store';
import { routes } from './app.routes';
import {
TranslateLoader,
TranslationObject,
@@ -48,6 +51,12 @@ export const appConfig: ApplicationConfig = {
provideBrowserGlobalErrorListeners(),
provideAnimationsAsync(),
provideRouter(
routes,
// Al cambiar de página se vuelve arriba; el catálogo es muy largo.
withInMemoryScrolling({ scrollPositionRestoration: 'top' }),
),
// Los iconos son SVG registrados en el MatIconRegistry (assets/icons).
provideAppInitializer(() => inject(IconRegistryService).init()),