Merge pull request #1112 from sbwalker/dev

fix #1103 reported by @PhilipMur - incorrect life cycle method for Control Panel loading
This commit is contained in:
Shaun Walker 2021-02-15 10:37:27 -05:00 committed by GitHub
commit 2b92dd51a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))
{