mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
fix loading user data in app.vue (#15292)
* fix handling user version * fix notification display
This commit is contained in:
parent
7af4a6ff11
commit
5784694dc9
1 changed files with 2 additions and 1 deletions
|
|
@ -132,7 +132,8 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['isUserLoggedIn', 'isUserLoaded']),
|
...mapState(['isUserLoggedIn', 'isUserLoaded', 'notificationsRemoved']),
|
||||||
|
...mapState({ user: 'user.data' }),
|
||||||
isStaticPage () {
|
isStaticPage () {
|
||||||
return this.$route.meta.requiresLogin === false;
|
return this.$route.meta.requiresLogin === false;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue