From c336d8f2f33fd9ca19b62da40c36d8f45aec2679 Mon Sep 17 00:00:00 2001 From: Valentyne Stigloher Date: Thu, 26 Sep 2024 18:36:14 +0200 Subject: [PATCH] (admin) hide approved translation proposals after hitting merge confirmation button --- pages/admin/translations/awaiting.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/admin/translations/awaiting.vue b/pages/admin/translations/awaiting.vue index 48fb5843a..73713d31b 100644 --- a/pages/admin/translations/awaiting.vue +++ b/pages/admin/translations/awaiting.vue @@ -225,7 +225,7 @@ export default defineComponent({ and merged to the main branch. Do you confirm that those translations are present in the main 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); }, }, });