Update all for Postgres and new techniques

This commit is contained in:
Sebastián Ramírez
2019-02-23 18:44:29 +04:00
parent 1b4d244033
commit 6fdba19639
72 changed files with 793 additions and 1316 deletions

View File

@@ -23,11 +23,11 @@ import { readUserProfile } from '@/store/main/accessors';
export default class Dashboard extends Vue {
get greetedUser() {
const userProfile = readUserProfile(this.$store);
if (userProfile && userProfile.human_name) {
if (userProfile.human_name) {
return userProfile.human_name;
if (userProfile && userProfile.full_name) {
if (userProfile.full_name) {
return userProfile.full_name;
} else {
return userProfile.name;
return userProfile.email;
}
}
}