From a5efe11350ca5e0782b97a4c1040d7078df0b00c Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Wed, 1 Nov 2023 13:56:14 +0100 Subject: [PATCH] fix: approval warning showing incorrectly on admin panel --- packages/frontend/src/pages/admin/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index 758e77797..42c228197 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -73,6 +73,7 @@ os.api('admin/abuse-user-reports', { os.api('admin/show-users', { state: 'approved', + origin: 'local', limit: 1, }).then(approvals => { if (approvals.length > 0) pendingUserApprovals = true;