Skip to content

Commit

Permalink
Merge pull request #5769 from samvera/no-analytics
Browse files Browse the repository at this point in the history
don't show analytics in the sidebar if it is turned off
  • Loading branch information
dlpierce committed Jul 5, 2022
2 parents f15940a + 73437b8 commit 92b7b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/hyrax/dashboard/sidebar/_activity.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<% end %>
<% end %>
<% if current_ability.can_create_any_work? %>
<% if current_ability.can_create_any_work? && Hyrax.config.analytics? %>
<li class="nav-item">
<%= menu.collapsable_section t('hyrax.admin.sidebar.analytics'),
icon_class: "fa fa-pie-chart",
Expand Down

0 comments on commit 92b7b08

Please sign in to comment.