mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
fix loading user data in app.vue (#15292)
* fix handling user version * fix notification display
This commit is contained in:
@@ -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;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user