(admin) hide approved translation proposals after hitting merge confirmation button

This commit is contained in:
Valentyne Stigloher 2024-09-26 18:36:14 +02:00
parent e20e348ceb
commit c336d8f2f3

View File

@ -225,7 +225,7 @@ export default defineComponent({
and merged to the <code>main</code> branch. and merged to the <code>main</code> branch.
Do you confirm that those translations are present in the <code>main</code> branch?`, 'success'); Do you confirm that those translations are present in the <code>main</code> branch?`, 'success');
await this.dialogue.postWithAlertOnError('/api/translations/proposals-done'); 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);
}, },
}, },
}); });