...
This commit is contained in:
@@ -27,12 +27,12 @@
|
||||
public Update_ExperDto model { get; set; } = new();
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
var user=await userService.GetCurrentUser();
|
||||
var user = await userService.GetCurrentExper();
|
||||
if (user!=null)
|
||||
{
|
||||
model.FullName = user.FullName;
|
||||
|
||||
Role = await localStorageService.GetItem<string>("Role");
|
||||
Role = await localStorageService.GetItem<string>("C/Role");
|
||||
isAuthorizedCompanyUser = Role=="Exper" && await userService.CheckAvailableExperInCompany();
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user