read notification fully working (content, comment and reply)
This commit is contained in:
parent
51409bd090
commit
cce158e80a
6 changed files with 10 additions and 10 deletions
|
|
@ -13,7 +13,7 @@ export const useUserStore = defineStore("user", () => {
|
|||
function readNotification(notificationId) {
|
||||
user.value.notifications.forEach((notification) => {
|
||||
if (notification.id === notificationId) {
|
||||
notification.isread = true;
|
||||
notification.isread = "true";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue