Refactor book service in BE and FE (#2013)
* Refactor book service in BE and FE * Add missing method --------- Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
@@ -19,8 +19,6 @@ import {initializeAuthFactory} from './app/core/security/auth-initializer';
|
||||
import {StartupService} from './app/shared/service/startup.service';
|
||||
import {provideCharts, withDefaultRegisterables} from 'ng2-charts';
|
||||
import ChartDataLabels from 'chartjs-plugin-datalabels';
|
||||
import {IconService} from './app/shared/services/icon.service';
|
||||
import {firstValueFrom} from 'rxjs';
|
||||
|
||||
export function storageFactory(): OAuthStorage {
|
||||
return localStorage;
|
||||
@@ -38,10 +36,6 @@ bootstrapApplication(AppComponent, {
|
||||
const startup = inject(StartupService);
|
||||
return startup.load();
|
||||
}),
|
||||
provideAppInitializer(() => {
|
||||
const iconService = inject(IconService);
|
||||
return firstValueFrom(iconService.preloadAllIcons());
|
||||
}),
|
||||
provideHttpClient(withInterceptors([AuthInterceptorService])),
|
||||
provideOAuthClient(),
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user