mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-03-05 13:30:33 -05:00
fix an issue when sidebar data is missing
This commit is contained in:
@@ -117,6 +117,7 @@ html
|
||||
label(for="nsfw") include NSFW results
|
||||
input(type="checkbox", name="nsfw", id="nsfw", checked="checked")
|
||||
input(type="submit", value="search")
|
||||
if sidebar_data
|
||||
.content
|
||||
p subscribers: #{sidebar_data.subscribers.toLocaleString()}
|
||||
p users here right now: #{sidebar_data.active_user_count.toLocaleString()}
|
||||
|
||||
Reference in New Issue
Block a user