Shift3 / boilerplate-client-react

The Bitwise standard starting point for new React web projects.
7 stars 10 forks source link

[Bug] Nothing appears in read section in notification nav dropdown when `Mark all as Read` is clicked #775

Open aliciajbrookshire opened 1 year ago

aliciajbrookshire commented 1 year ago

Describe the bug

Nothing appears in read section in notification nav dropdown when Mark all as Read is clicked

Expected behavior

Read section in nav bar dropdown would contain read notifications

To Reproduce

Steps to reproduce the behavior: (Note this requires having unread messages, you will need two admin accounts one to create farms and one to receive the notifications)

  1. Go to https://boilerplate-client-react.shift3sandbox.com/
  2. Login as admin
  3. Click on the notification icon in the nav bar
  4. Click mark all as read
  5. Click Read
  6. Confirm there is nothing in the read section

Screenshots

https://github.com/Shift3/boilerplate-client-react/assets/106767049/90e469b4-88b9-455e-8e4d-f3374e61f7bd

Desktop (please complete the following information):

Asus Laptop Windows 10 Chrome 113..0.5672.127

Additional context

Read notifications do appear in the read section when user clicks View all notifications > Read