diff --git a/src/components/NavHeader/NavHeader.vue b/src/components/NavHeader/NavHeader.vue index e91ab866..fec329c5 100755 --- a/src/components/NavHeader/NavHeader.vue +++ b/src/components/NavHeader/NavHeader.vue @@ -3,7 +3,7 @@ - + - + @@ -35,6 +39,14 @@ export default { ...mapState(['user', 'platform', 'settings']), ...mapGetters(['darkModeEnabled']), + isLoggedIn() { + return this.user && this.user.email; + }, + + hasSettings() { + return this.settings && this.user; + }, + title() { if (this.$route.name === 'share-list') { return this.$route.query && this.$route.query.list @@ -47,7 +59,7 @@ export default { : 'GAMEBRARY'; }, - homeRoute() { + logoRoute() { if (this.$route.name === 'share-list') { return null; }