Skip to content

Commit

Permalink
Msg to show email if full name does not exist fastapi#129
Browse files Browse the repository at this point in the history
  • Loading branch information
valentierra committed Apr 9, 2020
1 parent fa0af20 commit e806978
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 e806978

Please sign in to comment.