mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-08 02:31:36 +02:00
fix refresh bug where nth page loads first page's inner list
This commit is contained in:
parent
bd8c09aa00
commit
84b2c48d0d
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
{{/* Refresh the list every interval (30s) unless the document isn't visible or a dropdown is open; refresh
|
||||
if visibility changes as well. */}}
|
||||
<div
|
||||
hx-get="?workflow={{$.CurWorkflow}}&actor={{$.CurActor}}&status={{$.CurStatus}}&list_inner=true"
|
||||
hx-get="?workflow={{$.CurWorkflow}}&actor={{$.CurActor}}&status={{$.CurStatus}}&page={{$.Page.Paginater.Current}}&list_inner=true"
|
||||
hx-swap="morph:innerHTML"
|
||||
hx-trigger="every 30s [document.visibilityState === 'visible' && noActiveDropdowns()], visibilitychange[document.visibilityState === 'visible'] from:document"
|
||||
hx-indicator="#reloading-indicator">
|
||||
|
|
Loading…
Add table
Reference in a new issue