Skip to content

Fix notification dropdown does not show all notifications after deletion issue - #694

Open
AntonVelev21 wants to merge 1 commit into
TreyWW:mainfrom
AntonVelev21:fix-notification-issue
Open

Fix notification dropdown does not show all notifications after deletion issue#694
AntonVelev21 wants to merge 1 commit into
TreyWW:mainfrom
AntonVelev21:fix-notification-issue

Conversation

@AntonVelev21

Copy link
Copy Markdown

Description

Fixed the issue by triggering full list reload in update_notifications view via "HX-Trigger: update_notifications" only when there are hidden notifications (count > 5) and when there are no notifications (count == 0).

Checklist

  • Ran the Black Formatter and
    djLint-er on any new code
  • Made any changes or additions to the documentation where required
  • Changes generate no new warnings/errors
  • New and existing unit tests pass locally with my
    changes

What type of PR is this?

  • 🐛 Bug Fix

Added/updated tests?

  • 🙅 no, because they aren't needed

Related PRs, Issues etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: The function of show more notifications not work

1 participant