Fix missing filtering on some notification types (#23211)
* Fix missing warning-type filtering on some notification types * Fix missing hide-type filtering on some notification types
This commit is contained in:
parent
77c2ea1f0f
commit
98779535fe
2 changed files with 19 additions and 4 deletions
|
@ -24,7 +24,7 @@ const makeMapStateToProps = () => {
|
|||
const notification = getNotification(state, props.notification, props.accountId);
|
||||
return {
|
||||
notification: notification,
|
||||
status: notification.get('status') ? getStatus(state, { id: notification.get('status') }) : null,
|
||||
status: notification.get('status') ? getStatus(state, { id: notification.get('status'), contextType: 'notifications' }) : null,
|
||||
report: notification.get('report') ? getReport(state, notification.get('report'), notification.getIn(['report', 'target_account', 'id'])) : null,
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue