From 2fe93d4e644da45ad9cc1d1aee54767083080463 Mon Sep 17 00:00:00 2001 From: Leigh Date: Wed, 29 Sep 2021 18:05:59 +0200 Subject: [PATCH] Fix for #1690 Tab needs clicking to render UI User Management Tab needs clicking to render UI when language is not default. Modification to the TabPanel fixes the issue without forcing the Heading property to be populated. --- Oqtane.Client/Modules/Controls/TabPanel.razor | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Oqtane.Client/Modules/Controls/TabPanel.razor b/Oqtane.Client/Modules/Controls/TabPanel.razor index d6be85f6..4fd1cf6a 100644 --- a/Oqtane.Client/Modules/Controls/TabPanel.razor +++ b/Oqtane.Client/Modules/Controls/TabPanel.razor @@ -38,11 +38,7 @@ else if (string.IsNullOrEmpty(Heading)) { - Name = Localize(nameof(Name), Name); - } - else - { - Heading = Localize(nameof(Heading), Heading); + Heading = Localize(nameof(Name), Name); } }