Reactive updating of related time

This commit is contained in:
Sweetbread committed 2026-02-07 18:39:58 +03:00
1 parent db11fabe1a
commit 0edf6e35d7
8 files changed
+101 -4

No files matched your search

+8 -2
View File
@@ -31,7 +31,10 @@
</div>
</a>
{% endfor %}
<p>Last updated: {{ rtmsmp(steam.caches.recent.last_updated) }} ago</p>
<p
x-data="rtime({{steam.caches.recent.last_updated}})"
x-text="`Last updated: ${timeString}`"
></p>
{% endif %}
{% if steam.caches.owned.data.games %}
@@ -58,6 +61,9 @@
</div>
</a>
{% endfor %}
<p>Last updated: {{ rtmsmp(steam.caches.owned.last_updated) }} ago</p>
<p
x-data="rtime({{steam.caches.owned.last_updated}})"
x-text="`Last updated: ${timeString}`"
></p>
{% endif %}
</div>