lbry-desktop/ui/redux
infinite-persistence 1e4c79cf06 Don't clear all notifications when only 1 is clicked.
## Issue:
Closes 5515: All videos marked as read when clicking a single notification from notification list

## Change:
- Augment `doReadNotifications` to only clear the given IDs. If the argument is `null` or is not a valid array (e.g. when used as a click handlers, the click event object is passed in), all notifications will be cleared.

- Augment `NOTIFICATION_READ_COMPLETED` to only clear the given IDs.

## Notes:
- Wasn't sure of the API will fail if the ID is invalid, so I start from `unreadNotifications` first, then only filtering it further with the given ID. Otherwise, we could just skip the `unreadNotifications` filtering.
2021-03-08 11:41:04 -05:00
..
actions Don't clear all notifications when only 1 is clicked. 2021-03-08 11:41:04 -05:00
reducers Don't clear all notifications when only 1 is clicked. 2021-03-08 11:41:04 -05:00
selectors New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00