summaryrefslogtreecommitdiff
path: root/client-web/source/preferences/ui.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-09-11 09:23:44 +0200
committermetamuffin <metamuffin@disroot.org>2022-09-11 09:23:44 +0200
commita47a937c8058eb88d95ff4a006d159ae63b08e9e (patch)
tree7f60d5817a36da74cdfd13cd5f8fcfc7728ed942 /client-web/source/preferences/ui.ts
parent12af75951dc26d99273596dfaa8ead84c1ab4c67 (diff)
downloadkeks-meet-a47a937c8058eb88d95ff4a006d159ae63b08e9e.tar
keks-meet-a47a937c8058eb88d95ff4a006d159ae63b08e9e.tar.bz2
keks-meet-a47a937c8058eb88d95ff4a006d159ae63b08e9e.tar.zst
hide "warn_redirect"
Diffstat (limited to 'client-web/source/preferences/ui.ts')
-rw-r--r--client-web/source/preferences/ui.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client-web/source/preferences/ui.ts b/client-web/source/preferences/ui.ts
index 4b0832a..72d7792 100644
--- a/client-web/source/preferences/ui.ts
+++ b/client-web/source/preferences/ui.ts
@@ -6,7 +6,7 @@ export class PrefUi extends OverlayUi {
constructor() {
console.log(PREFS);
- const rows = Object.entries(PREF_DECLS as Record<string, PrefDecl<unknown>>).map(([key_, decl]) => {
+ const rows = Object.entries(PREF_DECLS as Record<string, PrefDecl<unknown>>).filter(e => !e[1].hidden).map(([key_, decl]) => {
const key = key_ as keyof typeof PREF_DECLS
const id = `pref-${key}`
let prim_control: HTMLInputElement | HTMLSelectElement | undefined;