Commit 2484fddf authored by Matthieu Fesselier's avatar Matthieu Fesselier

bugfix: patch read = false

parent 292a7ad1
Pipeline #3013 passed with stage
in 27 seconds
......@@ -51,7 +51,7 @@ class SIBNotifications extends SIBTemplateElement {
let edits = []
this._getNotificationsList().forEach(notification => {
if (notification.unread && notification.object['@id'] === resourceId) {
edits.push(store.patch(notification['@id'], { unread: 0 }))
edits.push(store.patch(notification['@id'], { unread: false }))
}
})
Promise.all(edits)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment