read notification fully working (content, comment and reply)

This commit is contained in:
isUnknown 2024-12-19 11:11:43 +01:00
parent 51409bd090
commit cce158e80a
6 changed files with 10 additions and 10 deletions

View file

@ -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";
}
});
}