Browse Source

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

pull/13907/head
Radek Lonka 5 years ago
committed by GitHub
parent
commit
697b4da6b0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      {{cookiecutter.project_slug}}/frontend/src/views/main/Dashboard.vue

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

Loading…
Cancel
Save