fix loading user data in app.vue (#15292)

* fix handling user version

* fix notification display
This commit is contained in:
Phillip Thelen 2024-08-09 15:36:06 +02:00 committed by GitHub
parent 7af4a6ff11
commit 5784694dc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -132,7 +132,8 @@ export default {
};
},
computed: {
...mapState(['isUserLoggedIn', 'isUserLoaded']),
...mapState(['isUserLoggedIn', 'isUserLoaded', 'notificationsRemoved']),
...mapState({ user: 'user.data' }),
isStaticPage () {
return this.$route.meta.requiresLogin === false;
},