diff --git a/front/src/components/Sidebar.vue b/front/src/components/Sidebar.vue index 033976f51..1323f8789 100644 --- a/front/src/components/Sidebar.vue +++ b/front/src/components/Sidebar.vue @@ -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 } })) ])