NotificationUtils: Add tag to notifications.

このコミットが含まれているのは:
lain 2020-06-11 15:49:39 +02:00
コミット 98819ae32c
1個のファイルの変更3行の追加1行の削除

ファイルの表示

@ -45,7 +45,9 @@ export const unseenNotificationsFromStore = store =>
filter(filteredNotificationsFromStore(store), ({ seen }) => !seen)
export const prepareNotificationObject = (notification, i18n) => {
const notifObj = {}
const notifObj = {
tag: notification.id
}
const status = notification.status
const title = notification.from_profile.name
notifObj.title = title