PCRB follow up client side logic
This commit is contained in:
@ -118,7 +118,7 @@ public partial class Dashboard {
|
||||
|
||||
private void GoTo(string page) {
|
||||
cache.Set("redirectUrl", page);
|
||||
navigationManager.NavigateTo("/" + page);
|
||||
navigationManager.NavigateTo(page);
|
||||
}
|
||||
|
||||
private async Task GoToExternal(string url, string content) {
|
||||
@ -154,4 +154,12 @@ public partial class Dashboard {
|
||||
if (step < 0 || step > (PCRB.Stages.Length - 1)) return string.Empty;
|
||||
else return PCRB.Stages[step];
|
||||
}
|
||||
|
||||
private string GetRoleName(Approval approval) {
|
||||
string roleName = approval.SubRoleCategoryItem;
|
||||
if (string.IsNullOrWhiteSpace(roleName)) {
|
||||
roleName = approval.RoleName;
|
||||
}
|
||||
return roleName;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user