diff --git a/Oqtane.Client/Themes/Controls/ControlPanel.razor b/Oqtane.Client/Themes/Controls/ControlPanel.razor index eee041214..c4d86cec5 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)) { diff --git a/Oqtane.Server/Oqtane.Server.csproj b/Oqtane.Server/Oqtane.Server.csproj index 15ca0a15e..474b9335e 100644 --- a/Oqtane.Server/Oqtane.Server.csproj +++ b/Oqtane.Server/Oqtane.Server.csproj @@ -2,7 +2,6 @@ net5.0 - 7.3 Debug;Release 2.0.0 Oqtane