about summary refs log tree commit diff
path: root/src/view/com/post-thread/PostThread.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/view/com/post-thread/PostThread.tsx
parent43be4f7d3d39894c5145ab1d75fe695c96c98c13 (diff)
downloadvoidsky-bdf77f8548dc62571ecb6c70b320b866360fbec1.tar.zst
Fix detection of !no-unauthenticated (#3279)
Diffstat (limited to 'src/view/com/post-thread/PostThread.tsx')
-rw-r--r--src/view/com/post-thread/PostThread.tsx3
1 files changed, 2 insertions, 1 deletions
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])