diff --git a/app/assets/javascripts/admin/components/flagged-post.js.es6 b/app/assets/javascripts/admin/components/flagged-post.js.es6 index c8583199b01..0754952a011 100644 --- a/app/assets/javascripts/admin/components/flagged-post.js.es6 +++ b/app/assets/javascripts/admin/components/flagged-post.js.es6 @@ -50,6 +50,13 @@ export default Ember.Component.extend({ }); }, + showModerationHistory() { + this.get('adminTools').showModerationHistory({ + filter: 'post', + post_id: this.get('flaggedPost.id') + }); + }, + showSuspendModal() { let post = this.get('flaggedPost'); let user = post.get('user'); diff --git a/app/assets/javascripts/admin/templates/components/flagged-post.hbs b/app/assets/javascripts/admin/templates/components/flagged-post.hbs index 29e72131891..2b7f03940fc 100644 --- a/app/assets/javascripts/admin/templates/components/flagged-post.hbs +++ b/app/assets/javascripts/admin/templates/components/flagged-post.hbs @@ -109,8 +109,8 @@ {{/if}} - {{#if canAct}} -