Skip to content

Commit 1f4ad26

Browse files
committed
Don't show loading indicators when refreshing the system status
When I added this the dividers didn't render the loading indicators but I guess some CSS has changed since then. Now we render the loading indicators on hidden elements so they don't appear. Signed-off-by: Yarden Shoham <git@yardenshoham.com>
1 parent 68a3e6b commit 1f4ad26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/admin/dashboard.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
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 hx-get="{{$.Link}}/system_status" hx-swap="morph:innerHTML" hx-trigger="every 5s" hx-indicator=".tw-hidden" class="ui attached table segment">
8080
{{template "admin/system_status" .}}
8181
</div>
8282
</div>

0 commit comments

Comments
 (0)