mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 13:33:03 +00:00
Auth module improvement
This commit is contained in:
@@ -7,14 +7,12 @@ import { Store } from '@ngrx/store';
|
||||
import { fadeInOut, fadeOut } from '../animations/fade';
|
||||
import { CoreState } from '../../core/core.reducers';
|
||||
import { HostWindowService } from '../host-window.service';
|
||||
import { AppState } from '../../app.reducer';
|
||||
import { AppState, routerStateSelector } from '../../app.reducer';
|
||||
import { hasValue, isNotUndefined } from '../empty.util';
|
||||
import { getAuthenticatedUser, isAuthenticated } from '../../core/auth/selectors';
|
||||
import { Subscription } from 'rxjs/Subscription';
|
||||
import { Eperson } from '../../core/eperson/models/eperson.model';
|
||||
|
||||
const routerStateSelector = (state: AppState) => state.router;
|
||||
|
||||
@Component({
|
||||
selector: 'ds-auth-nav-menu',
|
||||
templateUrl: './auth-nav-menu.component.html',
|
||||
|
Reference in New Issue
Block a user