fix: gpa panic
This commit is contained in:
parent
14c52b13fb
commit
9d839a1a63
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue