about summary refs log tree commit diff
path: root/src/view/com/post-thread/PostThread.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-03-20 15:37:14 +0000
committerSamuel Newman <mozzius@protonmail.com>2024-03-20 15:37:14 +0000
commitd24ffba01d7aa5a505b4e3d319dfecffc3d039ca (patch)
tree4e860ca6a6dd038f41bba1839d180177b70c877b /src/view/com/post-thread/PostThread.tsx
parent2fa26ceedc1c7f6f3c4a1bdeab621b34c24bcb17 (diff)
parent023e12bb4ec1dade373c810a13d8bba6d96a22be (diff)
downloadvoidsky-d24ffba01d7aa5a505b4e3d319dfecffc3d039ca.tar.zst
Merge remote-tracking branch 'origin/main' into samuel/alf-login
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])