Add "mark as read" button
This commit is contained in:
@@ -117,7 +117,7 @@ class SubscriptionManager {
|
||||
|
||||
async markNotificationRead(notificationId) {
|
||||
await db.notifications
|
||||
.where({id: notificationId, new: 1})
|
||||
.where({id: notificationId})
|
||||
.modify({new: 0});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user