This commit is contained in:
parent
5deb07f09d
commit
8eaa893994
4 changed files with 104 additions and 71 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue