From 0df685f372b90c8d04f13a55bba152593600f4b0 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 11 Mar 2026 16:45:11 +0100 Subject: [PATCH] fix(webapp): fix date select language crash (#9370) --- webapp/components/ContributionForm/ContributionForm.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index cc504b884..3b7d2d138 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -306,7 +306,11 @@ export default { } }, async mounted() { - await import(`vue2-datepicker/locale/${this.currentUser.locale}`) + try { + await import(`vue2-datepicker/locale/${this.currentUser.locale}`) + } catch { + await import('vue2-datepicker/locale/en') + } }, computed: { ...mapGetters({