fix(routers.accounts): correct disable decision for More button

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-12-26 18:35:38 -08:00
parent 2baf061b96
commit b27dab99d8
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 6 additions and 5 deletions

View file

@ -64,11 +64,11 @@
<input type="hidden" name="O"
value="{{ offset + pp }}" />
{% for k, v in params.items() %}
<input type="hidden" name="{{ k }}"
value="{{ v }}" />
<input type="hidden" name="{{ k }}" value="{{ v }}" />
{% endfor %}
<button type="submit" class="button page-next"
{% if offset + pp >= total_users %}
{% if (offset + pp) >= total_users %}
disabled
{% endif %}
>