From 697b4da6b0de1cd553092812ea29d770dfbf1d45 Mon Sep 17 00:00:00 2001 From: Radek Lonka Date: Fri, 17 Apr 2020 14:31:30 +0200 Subject: [PATCH] :bug: Fix welcome message to show email if full name doe not exists (#129) --- .../frontend/src/views/main/Dashboard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/frontend/src/views/main/Dashboard.vue b/{{cookiecutter.project_slug}}/frontend/src/views/main/Dashboard.vue index de52c7a..421879b 100644 --- a/{{cookiecutter.project_slug}}/frontend/src/views/main/Dashboard.vue +++ b/{{cookiecutter.project_slug}}/frontend/src/views/main/Dashboard.vue @@ -25,7 +25,7 @@ import { readUserProfile } from '@/store/main/getters'; export default class Dashboard extends Vue { get greetedUser() { const userProfile = readUserProfile(this.$store); - if (userProfile && userProfile.full_name) { + if (userProfile) { if (userProfile.full_name) { return userProfile.full_name; } else {