🐛 Fix welcome message to show email if full name doe not exists (#129)

This commit is contained in:
Radek Lonka 2020-04-17 14:31:30 +02:00 committed by GitHub
parent 854cc709d1
commit 697b4da6b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {