Don't show loading indicators when refreshing the system status (#30712)
Signed-off-by: Yarden Shoham <git@yardenshoham.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: silverwind <me@silverwind.io> (cherry picked from commit 51c28d96838a743d2ba4fd679d92e8e15b536a19)
This commit is contained in:
		
					parent
					
						
							
								4ed372af13
							
						
					
				
			
			
				commit
				
					
						38ed1cbc9d
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -76,7 +76,8 @@
 | 
			
		|||
			{{ctx.Locale.Tr "admin.dashboard.system_status"}}
 | 
			
		||||
		</h4>
 | 
			
		||||
		{{/* TODO: make these stats work in multi-server deployments, likely needs per-server stats in DB */}}
 | 
			
		||||
		<div hx-get="{{$.Link}}/system_status" hx-swap="morph:innerHTML" hx-trigger="every 5s" hx-indicator=".divider" class="ui attached table segment">
 | 
			
		||||
		<div class="no-loading-indicator tw-hidden"></div>
 | 
			
		||||
		<div hx-get="{{$.Link}}/system_status" hx-swap="morph:innerHTML" hx-trigger="every 5s" hx-indicator=".no-loading-indicator" class="ui attached table segment">
 | 
			
		||||
			{{template "admin/system_status" .}}
 | 
			
		||||
		</div>
 | 
			
		||||
	</div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue