From c527f28a6d5d9d1ad173f3b1df5073f3d001b53c Mon Sep 17 00:00:00 2001 From: hishamco Date: Sat, 13 Mar 2021 17:02:24 +0300 Subject: [PATCH] Address feedback --- Oqtane.Client/Modules/Admin/Profiles/Index.razor | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Oqtane.Client/Modules/Admin/Profiles/Index.razor b/Oqtane.Client/Modules/Admin/Profiles/Index.razor index f90f367e..141730f9 100644 --- a/Oqtane.Client/Modules/Admin/Profiles/Index.razor +++ b/Oqtane.Client/Modules/Admin/Profiles/Index.razor @@ -30,7 +30,7 @@ else public override SecurityAccessLevel SecurityAccessLevel => SecurityAccessLevel.Admin; - protected override async Task OnInitializedAsync() + protected override async Task OnParametersSetAsync() { await GetProfilesAsync(); } @@ -56,5 +56,7 @@ else } private async Task GetProfilesAsync() - => _profiles = await ProfileService.GetProfilesAsync(PageState.Site.SiteId); + { + _profiles = await ProfileService.GetProfilesAsync(PageState.Site.SiteId); + } }