From 3343b1c2401642c492b3f179966559e5831771b6 Mon Sep 17 00:00:00 2001 From: konrad Date: Sat, 21 Nov 2020 21:25:00 +0000 Subject: [PATCH] Add showing and modifying user name (#306) Make sure to use the user name field everywhere Add showing and modifying user name Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/306 Co-Authored-By: konrad Co-Committed-By: konrad --- src/components/home/topNavigation.vue | 2 +- src/components/misc/user.vue | 4 +- src/components/sharing/linkSharing.vue | 2 +- src/components/sharing/userTeam.vue | 2 +- src/components/tasks/edit-task.vue | 2 +- src/components/tasks/partials/comments.vue | 2 +- src/models/user.js | 9 ++++ src/models/userName.js | 10 +++++ src/services/userName.js | 10 +++++ src/store/modules/auth.js | 3 ++ src/views/Home.vue | 2 +- src/views/tasks/TaskDetailView.vue | 2 +- src/views/teams/EditTeam.vue | 2 +- src/views/user/Settings.vue | 50 ++++++++++++++++++++++ 14 files changed, 92 insertions(+), 10 deletions(-) create mode 100644 src/models/userName.js create mode 100644 src/services/userName.js diff --git a/src/components/home/topNavigation.vue b/src/components/home/topNavigation.vue index 7660aca4..bb8d5495 100644 --- a/src/components/home/topNavigation.vue +++ b/src/components/home/topNavigation.vue @@ -45,7 +45,7 @@ - {{ s.sharedBy.username }} + {{ s.sharedBy.getDisplayName() }}