diff --git a/app/assets/javascripts/discourse/models/action_summary.js b/app/assets/javascripts/discourse/models/action_summary.js index 0f53c58d6f6..729c5c629ea 100644 --- a/app/assets/javascripts/discourse/models/action_summary.js +++ b/app/assets/javascripts/discourse/models/action_summary.js @@ -81,7 +81,9 @@ Discourse.ActionSummary = Discourse.Model.extend({ flag_topic: this.get('flagTopic') ? true : false } }).then(function(result) { - return post.updateActionsSummary(result); + if (!self.get('flagTopic')) { + return post.updateActionsSummary(result); + } }).catch(function (error) { self.removeAction(); var message = $.parseJSON(error.responseText).errors;