mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
Fix moderator comments not showing up
This commit is contained in:
@@ -198,7 +198,7 @@ export default {
|
||||
{ mutationResult: { data: { createComment: { comment } } } }
|
||||
) => {
|
||||
if (
|
||||
(prev.me.role !== 'ADMIN' &&
|
||||
(!['ADMIN', 'MODERATOR'].includes(prev.me.role) &&
|
||||
prev.asset.settings.moderation === 'PRE') ||
|
||||
comment.status === 'PREMOD' ||
|
||||
comment.status === 'REJECTED' ||
|
||||
|
||||
Reference in New Issue
Block a user