mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 14:32:04 -04:00
[admin] don't require confirmation to accept translation proposals
This commit is contained in:
parent
a92a7c1645
commit
ed410fcd81
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user