69432: Profile metadata form validation + notifications

This commit is contained in:
Kristof De Langhe
2020-03-11 11:54:32 +01:00
parent 53c457689c
commit 004297fcfa
5 changed files with 61 additions and 14 deletions

View File

@@ -7,6 +7,7 @@ import { EPerson } from '../../../core/eperson/models/eperson.model';
import { AppState } from '../../../app.reducer';
import { getAuthenticatedUser, isAuthenticationLoading } from '../../../core/auth/selectors';
import { MYDSPACE_ROUTE } from '../../../+my-dspace-page/my-dspace-page.component';
import { getProfileModulePath } from '../../../app-routing.module';
/**
* This component represents the user nav menu.
@@ -36,6 +37,11 @@ export class UserMenuComponent implements OnInit {
*/
public mydspaceRoute = MYDSPACE_ROUTE;
/**
* The profile page route
*/
public profileRoute = getProfileModulePath();
constructor(private store: Store<AppState>) {
}