UX: Add link to "Moderation History" to flagging interface

This commit is contained in:
Robin Ward
2017-12-08 15:48:13 -05:00
parent dcc63a8ead
commit b3bdc68639
2 changed files with 16 additions and 4 deletions

View File

@@ -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');