Merge branch 'fix-notification-polling' into 'develop'

Fix the notifications polling when all the latest notifications are unread

Closes #896

See merge request !1198
4 jobs for develop in 5 minutes and 30 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Lint
passed #137183
lint

00:02:11

 
  Build
passed #137184
build

00:01:20

 
  Test
passed #137185
test

00:01:47

 
  Deploy
passed #137186
docs-deploy

00:00:11