wrong key

This commit is contained in:
Henry Jameson 2023-10-26 15:47:58 +03:00
parent 0628aac664
commit e3bf9a5185

View File

@ -77,11 +77,11 @@ export const unseenNotificationsFromStore = store =>
export const prepareNotificationObject = (notification, i18n) => {
const nodes = document.querySelectorAll('link[rel="icon"]')
const icon = nodes[0].href
const badge = nodes[0].href
const notifObj = {
tag: notification.id,
icon
badge
}
const status = notification.status
const title = notification.from_profile.name