Fix crash on user on None min_package_rank

This commit is contained in:
rubenwardy
2021-07-25 18:30:10 +01:00
parent 76675ad76b
commit 95bd1a50d9
2 changed files with 3 additions and 2 deletions

View File

@@ -218,7 +218,7 @@
</div>
</div>
{% endif %}
{% if min_package_rank <= 30 %}
{% if min_package_rank is not none and min_package_rank <= 30 %}
{% if min_package_rank <= 5 %}
{% set badge_color = "gold" %}
{% elif min_package_rank <= 10 %}