From 1b017daf62bab8410c014dbcfe7832f0dbc9e461 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Mon, 31 Jul 2017 09:42:35 -0300 Subject: [PATCH] changes --- client/coral-admin/src/graphql/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/coral-admin/src/graphql/utils.js b/client/coral-admin/src/graphql/utils.js index eeb58ab4a..1dc6b45c3 100644 --- a/client/coral-admin/src/graphql/utils.js +++ b/client/coral-admin/src/graphql/utils.js @@ -67,8 +67,8 @@ function addCommentToQueue(root, queue, comment, sort) { function getCommentQueues(comment) { const queues = ['all']; - if (comment.status === 'ACCEPTED') { - queues.push('accepted'); + if (comment.status === 'APPROVED') { + queues.push('approved'); } else if (comment.status === 'REJECTED') { queues.push('rejected'); @@ -83,7 +83,7 @@ function getCommentQueues(comment) { queues.push('premod'); queues.push('new'); } - if (comment.status === 'NONE') { + else if (comment.status === 'NONE') { queues.push('new'); }