Skip to content

Commit

Permalink
fix: menu icons on community license (#1800)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Jun 23, 2023
1 parent 9df3ec0 commit 3334570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/avo/sidebar_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<div class="w-full space-y-1">
<% dashboards.sort_by { |r| r.navigation_label }.each do |dashboard| %>
<%= render Avo::Sidebar::LinkComponent.new label: dashboard.navigation_label, path: dashboard.navigation_path, icon: resource.icon %>
<%= render Avo::Sidebar::LinkComponent.new label: dashboard.navigation_label, path: dashboard.navigation_path %>
<% end %>
</div>
</div>
Expand All @@ -36,7 +36,7 @@

<div class="w-full space-y-1">
<% resources.sort_by { |r| r.navigation_label }.each do |resource| %>
<%= render Avo::Sidebar::LinkComponent.new label: resource.navigation_label, path: helpers.resources_path(resource: resource), icon: resource.icon %>
<%= render Avo::Sidebar::LinkComponent.new label: resource.navigation_label, path: helpers.resources_path(resource: resource) %>
<% end %>
</div>
</div>
Expand Down

0 comments on commit 3334570

Please sign in to comment.