Skip to content

Commit 51c28d9

Browse files
yardenshohamwxiaoguangsilverwind
authored
Don't show loading indicators when refreshing the system status (#30712)
Signed-off-by: Yarden Shoham <[email protected]> Co-authored-by: wxiaoguang <[email protected]> Co-authored-by: silverwind <[email protected]>
1 parent d3cdef8 commit 51c28d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/admin/dashboard.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@
7676
{{ctx.Locale.Tr "admin.dashboard.system_status"}}
7777
</h4>
7878
{{/* TODO: make these stats work in multi-server deployments, likely needs per-server stats in DB */}}
79-
<div hx-get="{{$.Link}}/system_status" hx-swap="morph:innerHTML" hx-trigger="every 5s" hx-indicator=".divider" class="ui attached table segment">
79+
<div class="no-loading-indicator tw-hidden"></div>
80+
<div hx-get="{{$.Link}}/system_status" hx-swap="morph:innerHTML" hx-trigger="every 5s" hx-indicator=".no-loading-indicator" class="ui attached table segment">
8081
{{template "admin/system_status" .}}
8182
</div>
8283
</div>

0 commit comments

Comments
 (0)