mirror of
https://github.com/kevin-DL/full-stack-fastapi-postgresql.git
synced 2026-01-12 10:15:12 +00:00
🐛 Fix welcome message to show email if full name doe not exists (#129)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user