Fix moderator comments not showing up

This commit is contained in:
Chi Vinh Le
2018-01-29 17:40:38 +01:00
parent f5c3f7e9bc
commit 5f608e9bc6
@@ -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' ||