Fix detection of !no-unauthenticated (#3279)
This commit is contained in:
parent
43be4f7d3d
commit
bdf77f8548
2 changed files with 4 additions and 2 deletions
|
@ -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])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue