Image Upload, spinner aktivirt, listings & details überarbeitet
This commit is contained in:
@@ -4,11 +4,12 @@ import { provideRouter } from '@angular/router';
|
||||
import { routes } from './app.routes';
|
||||
import { provideClientHydration } from '@angular/platform-browser';
|
||||
import { provideAnimations } from '@angular/platform-browser/animations';
|
||||
import { HTTP_INTERCEPTORS, provideHttpClient, withFetch, withInterceptorsFromDi } from '@angular/common/http';
|
||||
import { HTTP_INTERCEPTORS, provideHttpClient, withFetch, withInterceptors, withInterceptorsFromDi } from '@angular/common/http';
|
||||
import { environment } from '../environments/environment';
|
||||
import { SelectOptionsService } from './services/select-options.service';
|
||||
import { KeycloakService } from './services/keycloak.service';
|
||||
import { UserService } from './services/user.service';
|
||||
import { LoadingInterceptor } from './interceptors/loading.interceptor';
|
||||
// provideClientHydration()
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
@@ -26,6 +27,11 @@ export const appConfig: ApplicationConfig = {
|
||||
multi: true,
|
||||
deps: [SelectOptionsService],
|
||||
},
|
||||
{
|
||||
provide:HTTP_INTERCEPTORS,
|
||||
useClass:LoadingInterceptor,
|
||||
multi:true
|
||||
},
|
||||
provideRouter(routes),provideAnimations(),
|
||||
// {provide: LOCALE_ID, useValue: 'en-US' }
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user