Skip to content

Commit

Permalink
Update _LoginPartial.cshtml
Browse files Browse the repository at this point in the history
  • Loading branch information
erland-syafiq committed Sep 18, 2023
1 parent daf24f1 commit 829dc07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
button.navbar-toggler {
background-color: var(--secondary-background); /* Set the color to white */
background-color: var(--secondary-background);
}
</style>
Expand Down
2 changes: 1 addition & 1 deletion Views/Shared/_LoginPartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@if (SignInManager.IsSignedIn(User))
{
if (User.IsInRole("Secretariat"))
if (User.IsInRole("Secretariat") || User.IsInRole("Admin"))
{
<a class="nav-link customFont" asp-area="" asp-controller="Applicants" asp-action="Index">Dashboard</a>
}
Expand Down

0 comments on commit 829dc07

Please sign in to comment.