mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
Merge branch 'main' into created-metadata-service-for-metadata-operations_contribute-main
# Conflicts: # src/app/core/metadata/metadata.service.spec.ts # src/modules/app/browser-init.service.ts
This commit is contained in:
@@ -8,10 +8,11 @@
|
||||
import {
|
||||
Inject,
|
||||
Injectable,
|
||||
TransferState,
|
||||
} from '@angular/core';
|
||||
import { TransferState } from '@angular/platform-browser';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { TranslateService } from '@ngx-translate/core';
|
||||
import { lastValueFrom } from 'rxjs';
|
||||
import { take } from 'rxjs/operators';
|
||||
|
||||
import { AppState } from '../../app/app.reducer';
|
||||
@@ -75,7 +76,7 @@ export class ServerInitService extends InitService {
|
||||
this.initRouteListeners();
|
||||
this.themeService.listenForThemeChanges(false);
|
||||
|
||||
await this.authenticationReady$().toPromise();
|
||||
await lastValueFrom(this.authenticationReady$());
|
||||
|
||||
return true;
|
||||
};
|
||||
|
Reference in New Issue
Block a user