mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-04-18 21:45:06 -04:00
fix an issue when user doesnt have any posts/comments
This commit is contained in:
@@ -59,6 +59,8 @@ html
|
||||
li(class=past === 'all' ? 'active' : '')
|
||||
a(href="?sort=" + sortby + "&t=all") all time
|
||||
.entries
|
||||
if !data.posts || data.posts.length <= 0
|
||||
h3 no posts/comments
|
||||
each post in data.posts
|
||||
if post.type === 't3'
|
||||
.entry.t3
|
||||
|
||||
Reference in New Issue
Block a user