From 9e8c574fb51c8aebad39314ed0b4eddb978bd153 Mon Sep 17 00:00:00 2001 From: Shaun Walker Date: Mon, 15 Feb 2021 10:38:38 -0500 Subject: [PATCH] fix #1103 reported by @PhilipMur - incorrect life cycle method for Control Panel loading --- Oqtane.Client/Themes/Controls/ControlPanel.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oqtane.Client/Themes/Controls/ControlPanel.razor b/Oqtane.Client/Themes/Controls/ControlPanel.razor index eee04121..c4d86cec 100644 --- a/Oqtane.Client/Themes/Controls/ControlPanel.razor +++ b/Oqtane.Client/Themes/Controls/ControlPanel.razor @@ -296,7 +296,7 @@ public bool ShowLanguageSwitcher { get; set; } = true; - protected override async Task OnInitializedAsync() + protected override async Task OnParametersSetAsync() { if (UserSecurity.IsAuthorized(PageState.User, PermissionNames.Edit, PageState.Page.Permissions)) {