@@ -3,6 +3,10 @@ import {
33 Injectable ,
44 Optional ,
55} from '@angular/core' ;
6+ import {
7+ select ,
8+ Store ,
9+ } from '@ngrx/store' ;
610import cloneDeep from 'lodash/cloneDeep' ;
711import {
812 combineLatest ,
@@ -11,6 +15,7 @@ import {
1115 switchMap ,
1216} from 'rxjs' ;
1317import {
18+ filter ,
1419 map ,
1520 take ,
1621} from 'rxjs/operators' ;
@@ -20,7 +25,10 @@ import {
2025 AppConfig ,
2126} from '../../config/app-config.interface' ;
2227import { environment } from '../../environments/environment' ;
28+ import { AppState } from '../app.reducer' ;
29+ import { RetrieveAuthenticatedEpersonSuccessAction } from '../core/auth/auth.actions' ;
2330import { AuthService } from '../core/auth/auth.service' ;
31+ import { getAuthenticatedUser } from '../core/auth/selectors' ;
2432import { EPersonDataService } from '../core/eperson/eperson-data.service' ;
2533import { EPerson } from '../core/eperson/models/eperson.model' ;
2634import { CookieService } from '../core/services/cookie.service' ;
@@ -32,12 +40,6 @@ import {
3240 isNotEmpty ,
3341} from '../shared/empty.util' ;
3442import { createSuccessfulRemoteDataObject$ } from '../shared/remote-data.utils' ;
35- import { Store } from '@ngrx/store' ;
36- import { RetrieveAuthenticatedEpersonSuccessAction } from '../core/auth/auth.actions' ;
37- import { AppState } from '../app.reducer' ;
38- import { select } from '@ngrx/store' ;
39- import { filter } from 'rxjs/operators' ;
40- import { getAuthenticatedUser } from '../core/auth/selectors' ;
4143
4244/**
4345 * Name of the cookie used to store the settings locally
0 commit comments