diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-03-19 14:43:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 14:43:00 -0700 |
commit | bdf77f8548dc62571ecb6c70b320b866360fbec1 (patch) | |
tree | 5fd94ef71bac3667458c147091b0aa14a8e692dc /src/components | |
parent | 43be4f7d3d39894c5145ab1d75fe695c96c98c13 (diff) | |
download | voidsky-bdf77f8548dc62571ecb6c70b320b866360fbec1.tar.zst |
Fix detection of !no-unauthenticated (#3279)
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/moderation/ScreenHider.tsx | 3 |
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 |