fix: gpa panic

This commit is contained in:
trisua 2025-06-09 21:36:27 -04:00
parent 14c52b13fb
commit 9d839a1a63

View file

@ -160,6 +160,7 @@
(text "Posts"))
(span
(text "{{ profile.post_count }}")))
(text "{% if gpa and gpa > 0 -%}")
(div
("class" "w-full flex justify-between items-center")
("title" "great post average (limited time)")
@ -168,6 +169,7 @@
(text "GPA 🐇"))
(span
(text "{{ gpa|round(method=\"floor\", precision=2) }}")))
(text "{%- endif %}")
(text "{% if not profile.settings.private_last_seen or is_self or is_helper %}")
(div
("class" "w-full flex justify-between items-center")