diff options
-rw-r--r-- | src/components/moderation/ScreenHider.tsx | 3 | ||||
-rw-r--r-- | src/view/com/post-thread/PostThread.tsx | 3 |
2 files changed, 4 insertions, 2 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 diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx index 8042e7bd5..ba74ba6d8 100644 --- a/src/view/com/post-thread/PostThread.tsx +++ b/src/view/com/post-thread/PostThread.tsx @@ -108,7 +108,8 @@ export function PostThread({ ?.ui('contentList') .blurs.find( cause => - cause.type === 'label' && cause.labelDef.id === '!no-unauthenticated', + cause.type === 'label' && + cause.labelDef.identifier === '!no-unauthenticated', ) }, [rootPost, moderationOpts]) |