Updated Notification timestamp to link to status/mention/comment

• Updated:
- Notification timestamp to link to status/mention/comment
This commit is contained in:
Developer
2021-02-25 10:40:52 -05:00
parent 0c1d84262f
commit 444263a8b2
2 changed files with 16 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ const makeMapStateToProps = () => {
accounts: accounts,
createdAt: lastUpdated,
isUnread: isUnread,
statusId: list.get('status'),
status: state.getIn(['statuses', list.get('status')], null),
isDeckConnected,
}
} else if (!isGrouped) {
@@ -76,7 +76,7 @@ const makeMapStateToProps = () => {
accounts: !!account ? ImmutableList([account]) : ImmutableList(),
createdAt: notification.get('created_at'),
isUnread: lastReadId < notification.get('id'),
statusId: statusId || undefined,
status: state.getIn(['statuses', statusId], null),
isDeckConnected,
}
}