Skip to content

Commit

Permalink
🐛 Fix welcome message to show email if full name doe not exists (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlonka authored Apr 17, 2020
1 parent 854cc70 commit 697b4da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 697b4da

Please sign in to comment.