fix: close #279, deleted/removed posts are still shown

This commit is contained in:
Xylight committed 2024-03-15 14:34:51 -07:00
1 parent c7e3f4d56e
commit df0cfbd932
5 files changed
+23 -7

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ export const defaultSettings: Settings = {
comments: env.PUBLIC_DEFAULT_COMMENT_SORT ?? ('Hot' as any),
},
hidePosts: {
deleted: toBool(env.PUBLIC_HIDE_DELETED) ?? true,
deleted: toBool(env.PUBLIC_HIDE_DELETED) ?? false,
removed: toBool(env.PUBLIC_HIDE_REMOVED) ?? false,
},
expandSidebar: toBool(env.PUBLIC_EXPAND_SIDEBAR) ?? true,