From aa364e1abeaee4b4350fbf27f925bd4bbdaa0a53 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Tue, 12 Sep 2017 12:58:25 -0300 Subject: [PATCH] Renaming Fragment and variable name --- plugins/talk-plugin-featured-comments/client/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/talk-plugin-featured-comments/client/index.js b/plugins/talk-plugin-featured-comments/client/index.js index 2ebde06a1..12c4a724f 100644 --- a/plugins/talk-plugin-featured-comments/client/index.js +++ b/plugins/talk-plugin-featured-comments/client/index.js @@ -89,14 +89,14 @@ export default { }, update: (proxy) => { - if (name !== 'FEATURED') { + if (variables.name !== 'FEATURED') { return; } const fragmentId = `Comment_${variables.id}`; const fragment = gql` - fragment Talk_ModerationActions_addTag on Comment { + fragment Talk_FeaturedComments_addTag on Comment { status } `;