diff --git a/plugins/talk-plugin-moderation-actions/client/index.js b/plugins/talk-plugin-moderation-actions/client/index.js index 014b26007..445c72271 100644 --- a/plugins/talk-plugin-moderation-actions/client/index.js +++ b/plugins/talk-plugin-moderation-actions/client/index.js @@ -16,6 +16,22 @@ export default { return prev; } + // Permalink view will retrieve only one comment. + if (prev.asset.comment) { + const updated = update(prev, { + asset: { + comment: { + status: { + $set: status + } + } + } + }); + + return updated; + } + + // Stream View const updated = update(prev, { asset: { comments: {