Skip to content

Commit

Permalink
Merge pull request #6939 from samvera/6776-collections-dashboard-page…
Browse files Browse the repository at this point in the history
…-includes-roles-not-inside-required-context

Remove navigation role from collection tabs
  • Loading branch information
randalldfloyd authored Nov 1, 2024
2 parents 4e73002 + 4282d10 commit 5e7f26d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/hyrax/my/collections/_tabs.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% current_page_dashboard = current_page?(hyrax.dashboard_collections_path(locale: nil)) %>
<ul class="nav nav-tabs" id="my_nav" role="navigation">
<ul class="nav nav-tabs" id="my_nav">
<li<%= ' class="nav-item"'.html_safe if current_page_dashboard %>>
<%= link_to(
t("hyrax.dashboard.#{current_ability.admin? ? 'all' : 'managed'}.collections"),
Expand Down

0 comments on commit 5e7f26d

Please sign in to comment.