Skip to content

Commit

Permalink
admin refresh table time set to 2 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
LobbyLobster authored Nov 15, 2023
1 parent f9be1ec commit 4991ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h2 class="text-4xl m-2">{{index . "queue"}}</h2>
</tr>
</thead>
<tbody id="table-body" hx-boost="true" hx-get="/api/queue?page={{if .Index}}{{.Index}}{{else}}1{{end}}"
hx-swap="innerHTML transition:true" hx-trigger="every 60s">
hx-swap="innerHTML transition:true" hx-trigger="every 2s">
{{template "tbody.html" .}}
</tbody>
</table>
Expand Down

0 comments on commit 4991ae4

Please sign in to comment.