mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	fix: approval warning showing incorrectly on admin panel
This commit is contained in:
		
							parent
							
								
									9a962e35be
								
							
						
					
					
						commit
						a5efe11350
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue