comment notification : dynamize target uri
This commit is contained in:
parent
246d21f85a
commit
375bed1d01
3 changed files with 11 additions and 5 deletions
|
|
@ -14,9 +14,10 @@ export const useUserStore = defineStore("user", () => {
|
|||
const projectNotifications = project.notifications.map(
|
||||
(notification) => ({
|
||||
...notification,
|
||||
project: {
|
||||
id: project.id,
|
||||
name: project.title,
|
||||
target: {
|
||||
uuid: project.uuid,
|
||||
title: project.title,
|
||||
slug: project.slug,
|
||||
},
|
||||
isRead:
|
||||
notification.author.uuid === user.value.uuid ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue