Fix edit notification count
This commit is contained in:
parent
aa2d83ac2c
commit
8719e348df
|
@ -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 } }))
|
||||
])
|
||||
|
|
Loading…
Reference in New Issue