Fix edit notification count

This commit is contained in:
wvffle 2022-07-21 18:32:09 +00:00 committed by Georg Krause
parent aa2d83ac2c
commit 8719e348df
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ const moderationNotifications = computed(() =>
onMounted(async () => {
const [edits, reports, requests] = await Promise.all([
axios.get('mutations/', { params: { page_size: 1 } }).catch(() => ({ data: { count: 0 } })),
axios.get('mutations/', { params: { page_size: 1, q: 'is_approved:null' } }).catch(() => ({ data: { count: 0 } })),
axios.get('manage/moderation/reports/', { params: { page_size: 1 } }).catch(() => ({ data: { count: 0 } })),
axios.get('manage/moderation/requests/', { params: { page_size: 1 } }).catch(() => ({ data: { count: 0 } }))
])