Restore flagged queue

This commit is contained in:
Chi Vinh Le
2017-08-01 17:18:52 +07:00
parent b1b24d0f9d
commit 2a78ce2bf1
+4 -2
View File
@@ -76,11 +76,13 @@ function getCommentQueues(comment) {
else if (comment.status === 'PREMOD') {
queues.push('premod');
queues.push('new');
}
}
else if (comment.status === 'NONE') {
queues.push('new');
}
else if (
// Additionally populate the `flagged` queue.
if (
['NONE', 'PREMOD'].indexOf(comment.status) >= 0
&& comment.actions && comment.actions.some((a) => a.__typename === 'FlagAction')
) {