feat: add post hiding

This commit is contained in:
Xylight committed 2024-06-08 15:37:01 -07:00
1 parent dae4f1fe73
commit ac3222d987
12 files changed
+69 -12

No files matched your search

+2
View File
@@ -80,6 +80,7 @@ interface Settings {
posts: {
deduplicateEmbed: boolean
compactFeatured: boolean
showHidden: boolean
}
language: string | null
translator: string | undefined
@@ -141,6 +142,7 @@ export const defaultSettings: Settings = {
posts: {
deduplicateEmbed: toBool(env.PUBLIC_DEDUPLICATE_EMBED) ?? true,
compactFeatured: toBool(env.PUBLIC_COMPACT_FEATURED) ?? true,
showHidden: false,
},
language: null,
translator: undefined,