From b1f559f03e3f464c1b8b19a9327158be0ecafe62 Mon Sep 17 00:00:00 2001 From: Sukanya Pandey Date: Tue, 28 Apr 2020 20:18:28 +0530 Subject: Profile settings page -To set the profile by setting password. -This commit adds a profile page which allows the user to change their password. In the future, the profile page will also contain user settings like language and timezone. The API called to change the user's password is '/redfish/v1/AccountService/Accounts/' Signed-off-by: Sukanya Pandey Change-Id: Ie54a54beff8c85bc9ac5af21c35edc481b34cf44 --- src/components/AppHeader/AppHeader.vue | 116 +++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 49 deletions(-) (limited to 'src/components') diff --git a/src/components/AppHeader/AppHeader.vue b/src/components/AppHeader/AppHeader.vue index a755a628..39d52b83 100644 --- a/src/components/AppHeader/AppHeader.vue +++ b/src/components/AppHeader/AppHeader.vue @@ -43,11 +43,19 @@ -
  • - - {{ $t('appHeader.logOut') }} - - +
  • @@ -110,6 +118,9 @@ export default { default: return 'secondary'; } + }, + username() { + return this.$store.getters['global/username']; } }, created() { @@ -142,64 +153,71 @@ export default { }; - -- cgit v1.2.3