diff --git a/app/javascript/admin/controllers/reaction_controller.js b/app/javascript/admin/controllers/reaction_controller.js index ca70ca65a..be2d68a2e 100644 --- a/app/javascript/admin/controllers/reaction_controller.js +++ b/app/javascript/admin/controllers/reaction_controller.js @@ -41,6 +41,10 @@ export default class ReactionController extends Controller { this.updateReaction(this.reactionId, this.invalidStatus); } + updateReactionConfirmed() { + this.updateReaction(this.reactionId, this.confirmedStatus); + } + reactableUserCheck() { if (this.reactableType === 'user') { // eslint-disable-next-line no-restricted-globals diff --git a/app/views/admin/feedback_messages/_abuse_reports.html.erb b/app/views/admin/feedback_messages/_abuse_reports.html.erb index bc1e9f127..8efed1296 100644 --- a/app/views/admin/feedback_messages/_abuse_reports.html.erb +++ b/app/views/admin/feedback_messages/_abuse_reports.html.erb @@ -73,6 +73,25 @@ INVALID <% end %> + <% if params[:status] == "Resolved" %> + + <% elsif params[:status] == "Invalid" %> + + <% end %>