wrong key
This commit is contained in:
parent
0628aac664
commit
e3bf9a5185
|
@ -77,11 +77,11 @@ export const unseenNotificationsFromStore = store =>
|
||||||
|
|
||||||
export const prepareNotificationObject = (notification, i18n) => {
|
export const prepareNotificationObject = (notification, i18n) => {
|
||||||
const nodes = document.querySelectorAll('link[rel="icon"]')
|
const nodes = document.querySelectorAll('link[rel="icon"]')
|
||||||
const icon = nodes[0].href
|
const badge = nodes[0].href
|
||||||
|
|
||||||
const notifObj = {
|
const notifObj = {
|
||||||
tag: notification.id,
|
tag: notification.id,
|
||||||
icon
|
badge
|
||||||
}
|
}
|
||||||
const status = notification.status
|
const status = notification.status
|
||||||
const title = notification.from_profile.name
|
const title = notification.from_profile.name
|
||||||
|
|
Loading…
Reference in New Issue