From 5b3ae837dcd4757d78c541c2371c9eef813496ec Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Sun, 26 Jul 2020 20:36:44 +0200 Subject: [PATCH] Fix some warnings and rename variables --- frontend/src/App.vue | 6 +++--- frontend/src/views/TimeRecordItem.vue | 7 ++++++- frontend/src/views/UsersItems.vue | 22 ++++++++-------------- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index f0df9eb..c921222 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -124,9 +124,9 @@ - + - + @@ -152,7 +152,7 @@ source: String }, data: () => ({ - drawer: null, + drawer: false, dialog: false, menu: false, loggedIn: sessionStorage.getItem("loggedin"), diff --git a/frontend/src/views/TimeRecordItem.vue b/frontend/src/views/TimeRecordItem.vue index 1161122..2b19f01 100644 --- a/frontend/src/views/TimeRecordItem.vue +++ b/frontend/src/views/TimeRecordItem.vue @@ -62,7 +62,12 @@ diff --git a/frontend/src/views/UsersItems.vue b/frontend/src/views/UsersItems.vue index 6d06191..acf181b 100644 --- a/frontend/src/views/UsersItems.vue +++ b/frontend/src/views/UsersItems.vue @@ -19,16 +19,14 @@
mdi-account-box{{" " + user.firstname + " " +user.lastname}}
- - - + - + @@ -51,16 +49,12 @@ export default { name: "UsersItems", props: ["user"], - data: () => ({ - fab: undefined, - }), - methods: { - getUid(hrefTmp) { - var parts = hrefTmp.split("/"); - return parts[4]; + data() { + return { + editButton: false } } - }; + }