selfhostable, read-only reddit client

search-on-undelete for more comments

Changed files
+2 -2
src
mixins
views
+1 -1
src/mixins/comment.pug
··· 14 14 span(class=`${data.is_submitter ? 'op' : ''}`) 15 15 | u/#{data.author} #{data.is_submitter ? '(op)' : ''} 16 16 |  ·  17 - if data.collapsed_reason_code == "DELETED" 17 + if data.collapsed_reason_code == "DELETED" || data.author == "[deleted]" 18 18 a(href=`https://undelete.pullpush.io${data.permalink}`) search on undelete 19 19 |  ·  20 20 | #{timeDifference(Date.now(), data.created * 1000)}
+1 -1
src/views/comments.pug
··· 22 22 +header(user) 23 23 div.hero 24 24 h3.sub-title 25 - a(href=`/r/${post.subreddit}`) ← r/#{post.subreddit} 25 + a(href=`/r/${post.subreddit}`) r/#{post.subreddit} 26 26 27 27 div.info-container 28 28 - var domain = (new URL(post.url)).hostname