commit: e3bf9a518574b19877a308b7331994b68ca5ef5b
parent 0628aac664be4ccce361d319fad201c44d9257fe
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 26 Oct 2023 15:47:58 +0300
wrong key
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/services/notification_utils/notification_utils.js b/src/services/notification_utils/notification_utils.js
@@ -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