Skip to content
Snippets Groups Projects
Verified Commit 75d92c88 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge remote-tracking branch 'origin/master' into 875-django-setup-very-slow

parents 76f97e8a 95971d91
No related branches found
No related tags found
1 merge request!1277Improve logging
......@@ -9,6 +9,11 @@ and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Fixed
~~~~~
* Notifications were not properly shown in the frontend.
`3.1.1` - 2023-07-01
--------------------
......
......@@ -20,7 +20,7 @@
v-if="
myNotifications &&
myNotifications.person &&
myNotifications.person.notifications.length > 0
unreadNotifications.length > 0
"
>
mdi-bell-badge-outline
......@@ -38,7 +38,7 @@
v-if="
myNotifications.person &&
myNotifications.person.notifications &&
unreadNotifications.length
myNotifications.person.notifications.length
"
>
<v-subheader>{{ $t("notifications.notifications") }}</v-subheader>
......@@ -88,7 +88,9 @@ export default {
},
computed: {
unreadNotifications() {
return this.myNotifications.filter((n) => !n.read);
return this.myNotifications.person.notifications
? this.myNotifications.person.notifications.filter((n) => !n.read)
: [];
},
},
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment