From ed410fcd81cb281ee32fff5f1eb0e2b63191c9e0 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Fri, 9 Dec 2022 18:23:54 +0100 Subject: [PATCH] [admin] don't require confirmation to accept translation proposals --- routes/admin.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/admin.vue b/routes/admin.vue index 5ae64c0e8..cfb835544 100644 --- a/routes/admin.vue +++ b/routes/admin.vue @@ -376,7 +376,7 @@ import {deepSet, head} from "../src/helpers"; setTimeout(() => window.location.reload(), 500); }, async acceptTranslationProposal(id) { - await this.$confirm('Do you want to accept this translation proposal?', 'success'); + // await this.$confirm('Do you want to accept this translation proposal?', 'success'); await this.$post(`/translations/accept-proposal`, {id}) this.translationProposals = this.translationProposals.map(tp => { if (tp.id === id) { tp.status = 1; }