From 1efc84a37e5e9bd3c35e98ef6afd0c57f52f7496 Mon Sep 17 00:00:00 2001 From: Marvin Frachet Date: Tue, 30 Mar 2021 16:59:24 +0200 Subject: [PATCH] Display locale code instead of name when name is not defined (#9888) --- .../admin/src/components/LocalePicker/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/strapi-plugin-i18n/admin/src/components/LocalePicker/index.js b/packages/strapi-plugin-i18n/admin/src/components/LocalePicker/index.js index f7cce3696c..88e5127dcc 100644 --- a/packages/strapi-plugin-i18n/admin/src/components/LocalePicker/index.js +++ b/packages/strapi-plugin-i18n/admin/src/components/LocalePicker/index.js @@ -93,7 +93,9 @@ const LocalePicker = () => { return ( );