(admin) faster profile moderation – skip confirming non-ban

This commit is contained in:
Andrea Vos 2023-06-25 09:31:20 +02:00
parent bc7b8f89c5
commit 0b781ae8ce

View File

@ -72,7 +72,7 @@ export default {
.join(', ');
},
async handleReport(id) {
await this.$confirm('Are you sure you want to mark this report as handled?', 'success');
// await this.$confirm('Are you sure you want to mark this report as handled?', 'success');
await this.$post(`/admin/reports/handle/${id}`);
this.abuseReports = this.abuseReports.map(r => {
if (r.id === id) { r.isHandled = true; }