mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Add link to "Moderation History" to flagging interface
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user