From 736e571471483c4d1930c1b82796aa609d5b11e5 Mon Sep 17 00:00:00 2001 From: Tim Zieger Date: Fri, 22 May 2020 13:57:47 +0200 Subject: [PATCH] users same style as timetrack --- frontend/src/App.vue | 4 +- frontend/src/views/Users.vue | 4 +- frontend/src/views/UsersItems.vue | 128 ++++++++++++------------------ 3 files changed, 54 insertions(+), 82 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 5679f86..5fcf8ad 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -197,7 +197,7 @@ export default { sessionStorage.setItem("lastname", userInformation.lastname); sessionStorage.setItem("username", userInformation.username); sessionStorage.setItem("role", userInformation.role.name); - console.log(this.fullname); + this.fullname= sessionStorage.getItem("firstname") + " " + sessionStorage.getItem("lastname"); location.reload(); @@ -209,7 +209,7 @@ export default { whoxhttp.setRequestHeader("Authorization", sessionStorage.getItem("jwt")); whoxhttp.send(null); - + location.reload(); } }, signUp(signupData) { diff --git a/frontend/src/views/Users.vue b/frontend/src/views/Users.vue index de661f2..1639f6d 100644 --- a/frontend/src/views/Users.vue +++ b/frontend/src/views/Users.vue @@ -1,9 +1,9 @@ \ No newline at end of file