Skip to content

Commit

Permalink
fix(Dashboard): fixed active class on workflows navigation dropdown
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Baptiste Bianchi <[email protected]>
  • Loading branch information
JBBianchi committed Jul 8, 2024
1 parent cf78368 commit abc51fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard/Synapse.Dashboard/Layout/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<AuthorizeView>
<Authorized>
<div class="dropdown">
<button class="btn nav-link dropdown-toggle @(IsActive("", NavLinkMatch.All) || IsActive("workflows", NavLinkMatch.All) || IsActive("workflow-instances", NavLinkMatch.All) ? "active" : "")" type="button" id="workflowDropdownButton" data-bs-toggle="dropdown" aria-expanded="false">
<button class="btn nav-link dropdown-toggle @(IsActive("", NavLinkMatch.All) || IsActive("workflows", NavLinkMatch.Prefix) || IsActive("workflow-instances", NavLinkMatch.Prefix) ? "active" : "")" type="button" id="workflowDropdownButton" data-bs-toggle="dropdown" aria-expanded="false">
<span class="btn-label">Workflows</span>
</button>
<ul class="dropdown-menu" aria-labelledby="workflowDropdownButton">
Expand Down

0 comments on commit abc51fe

Please sign in to comment.