fix: approval warning showing incorrectly on admin panel
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user