forked from mirrors/bookwyrm
Merge pull request #2090 from bookwyrm-social/dashboard-warning
Fixes invite request alert count
This commit is contained in:
commit
a4a06fa32c
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class Dashboard(View):
|
|||
status="pending"
|
||||
).count(),
|
||||
"invite_requests": models.InviteRequest.objects.filter(
|
||||
ignored=False, invite_sent=False
|
||||
ignored=False, invite__isnull=True
|
||||
).count(),
|
||||
"user_stats": user_chart.get_chart(start, end, interval),
|
||||
"status_stats": status_chart.get_chart(start, end, interval),
|
||||
|
|
Loading…
Reference in a new issue