link to hub

Summary: Clicking on a notifications links to the Notification Hub highlighting the selected notification.

Reviewed By: jknoxville

Differential Revision: D10487822

fbshipit-source-id: ed907ec244bef970d1b30ddb719856949229d0c4
This commit is contained in:
Daniel Büchele
2018-10-22 06:58:02 -07:00
committed by Facebook Github Bot
parent 7b9bd8560e
commit c8a7ce5cfb
2 changed files with 18 additions and 8 deletions

View File

@@ -65,9 +65,9 @@ export default (store: Store, logger: Logger) => {
notification.onclick = () =>
store.dispatch(
selectPlugin({
selectedPlugin: n.pluginId,
selectedApp: n.client,
deepLinkPayload: n.notification.action,
selectedPlugin: 'notifications',
selectedApp: null,
deepLinkPayload: n.notification.id,
}),
);
knownNotifications.add(n.notification.id);