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/view/com/post-thread/PostThread.tsx | |
parent | 43be4f7d3d39894c5145ab1d75fe695c96c98c13 (diff) | |
download | voidsky-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.tsx | 3 |
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]) |