From fed060ea84ebd3abe1467212025c968d732ea336 Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Tue, 7 Jul 2026 13:45:25 +0800 Subject: [PATCH] fix(ui): hide scroll loading indicator when no more content to load --- app/templates/index.html | 2 ++ app/templates/showcase.html | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/app/templates/index.html b/app/templates/index.html index 66b6301..df6044e 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -45,8 +45,10 @@ {% endfor %} +{% if has_more %}
+{% endif %} {% else %}

{{ 'index.empty'|t(lang) }}

diff --git a/app/templates/showcase.html b/app/templates/showcase.html index 44d8903..2a562d8 100644 --- a/app/templates/showcase.html +++ b/app/templates/showcase.html @@ -86,8 +86,10 @@ {% endif %} {% endfor %} {% endif %} +{% if sent_visible|length > 19 %}
+{% endif %}
{% endif %}