From 8f576c8068568d5f44fbd54250e23a06df9c4b37 Mon Sep 17 00:00:00 2001 From: Radek Lonka Date: Tue, 10 Mar 2020 10:01:24 +0100 Subject: [PATCH] dashboard welcome message to show email if full name doe not exists The email was is not shown in welcome greeting message if full name does not exists --- .../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 de52c7aaa4..421879b1b6 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 {