This commit is contained in:
isUnknown 2025-10-02 15:12:20 +02:00
parent 5deb07f09d
commit 8eaa893994
4 changed files with 104 additions and 71 deletions

View file

@ -12,7 +12,7 @@ export const useUserStore = defineStore('user', () => {
const { projects } = storeToRefs(useProjectsStore());
const notifications = computed(() => {
return projects.value.flatMap((project) => {
return projects.value?.flatMap((project) => {
if (!project.notifications) return [];
return project.notifications