about summary refs log tree commit diff
path: root/src/components/moderation/ScreenHider.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2024-03-19 14:43:00 -0700
committerGitHub <noreply@github.com>2024-03-19 14:43:00 -0700
commitbdf77f8548dc62571ecb6c70b320b866360fbec1 (patch)
tree5fd94ef71bac3667458c147091b0aa14a8e692dc /src/components/moderation/ScreenHider.tsx
parent43be4f7d3d39894c5145ab1d75fe695c96c98c13 (diff)
downloadvoidsky-bdf77f8548dc62571ecb6c70b320b866360fbec1.tar.zst
Fix detection of !no-unauthenticated (#3279)
Diffstat (limited to 'src/components/moderation/ScreenHider.tsx')
-rw-r--r--src/components/moderation/ScreenHider.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/moderation/ScreenHider.tsx b/src/components/moderation/ScreenHider.tsx
index 71ca85a92..4e3a9680f 100644
--- a/src/components/moderation/ScreenHider.tsx
+++ b/src/components/moderation/ScreenHider.tsx
@@ -56,7 +56,8 @@ export function ScreenHider({
 
   const isNoPwi = !!modui.blurs.find(
     cause =>
-      cause.type === 'label' && cause.labelDef.id === '!no-unauthenticated',
+      cause.type === 'label' &&
+      cause.labelDef.identifier === '!no-unauthenticated',
   )
   return (
     <CenteredView