Merge pull request #1316 from coralproject/fix-hidden-moderator-commens

Fix moderator comments not showing up in premod
This commit is contained in:
Kim Gardner
2018-01-29 14:17:35 -05:00
committed by GitHub
@@ -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' ||