feat: auto-refresh overview and networth pages (10m for overview and 1h for networth)

Useful if you want to leave WYGIWYH open in a fixed tab
This commit is contained in:
Herculino Trotta
2025-07-12 02:26:15 -03:00
parent 6826cfe79a
commit d81d89d9f6
5 changed files with 9 additions and 8 deletions
@@ -113,7 +113,7 @@
<div id="data-content"
class="show-loading"
hx-get="{% url 'yearly_overview_account_data' year=year %}"
hx-trigger="load"
hx-trigger="load, every 10m"
hx-include="[name='account'], [name='month']"
hx-swap="innerHTML">
</div>
@@ -115,7 +115,7 @@
<div id="data-content"
class="show-loading"
hx-get="{% url 'yearly_overview_currency_data' year=year %}"
hx-trigger="load"
hx-trigger="load, every 10m"
hx-include="[name='currency'], [name='month']"
hx-swap="innerHTML">
</div>