fix: anonymous post page panic

This commit is contained in:
trisua 2025-07-11 12:35:47 -04:00
parent 14f3bf849e
commit 9aee80493f

View file

@ -125,7 +125,6 @@
(text "{{ icon \"settings\" }}") (text "{{ icon \"settings\" }}")
(span (span
(text "{{ text \"communities:action.configure\" }}")))) (text "{{ text \"communities:action.configure\" }}"))))
(text "{%- endif %}")
(div (div
("class" "flex flex-col gap-2 hidden") ("class" "flex flex-col gap-2 hidden")
("data-tab" "configure") ("data-tab" "configure")
@ -250,6 +249,7 @@
}, },
}); });
}, 250);"))) }, 250);")))
(text "{%- endif %}")
(text "{% if user and user.id == post.owner -%}") (text "{% if user and user.id == post.owner -%}")
(div (div
("class" "card-nest w-full hidden") ("class" "card-nest w-full hidden")