From 59ddde185633a2488a49e36a7d6e81140c697bb1 Mon Sep 17 00:00:00 2001 From: riley Date: Thu, 27 Apr 2017 14:07:01 -0600 Subject: [PATCH] semi --- client/coral-admin/src/graphql/mutations/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/coral-admin/src/graphql/mutations/index.js b/client/coral-admin/src/graphql/mutations/index.js index f2845887b..4d62201d1 100644 --- a/client/coral-admin/src/graphql/mutations/index.js +++ b/client/coral-admin/src/graphql/mutations/index.js @@ -64,7 +64,7 @@ export const setCommentStatus = graphql(SET_COMMENT_STATUS, { } else { comment.status = 'ACCEPTED'; acceptedCount++; - accepted = [comment, ...oldData.accepted] + accepted = [comment, ...oldData.accepted]; } const premod = oldData.premod.filter(c => c.id !== commentId);