mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
Merge pull request #1316 from coralproject/fix-hidden-moderator-commens
Fix moderator comments not showing up in premod
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