mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
(admin) hide approved translation proposals after hitting merge confirmation button
This commit is contained in:
parent
e20e348ceb
commit
c336d8f2f3
@ -225,7 +225,7 @@ export default defineComponent({
|
||||
and merged to the <code>main</code> branch.
|
||||
Do you confirm that those translations are present in the <code>main</code> branch?`, 'success');
|
||||
await this.dialogue.postWithAlertOnError('/api/translations/proposals-done');
|
||||
this.translationProposals = this.translationProposals.filter((tp) => tp.status === 1);
|
||||
this.translationProposals = this.translationProposals.filter((tp) => tp.status !== 1);
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user