Skip to content

Commit

Permalink
Merge pull request #5773 from samvera/no-analytics-bp
Browse files Browse the repository at this point in the history
[backport] don't show analytics in the sidebar if it is turned off
  • Loading branch information
dlpierce authored Aug 16, 2022
2 parents 07fa29c + 4f836f3 commit 815bd0c
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 @@ -32,7 +32,7 @@
<% end %>
<% end %>
<% if current_ability.can_create_any_work? %>
<% if current_ability.can_create_any_work? && Hyrax.config.analytics? %>
<li>
<%= menu.collapsable_section t('hyrax.admin.sidebar.analytics'),
icon_class: "fa fa-pie-chart",
Expand Down

0 comments on commit 815bd0c

Please sign in to comment.