From 9df755f3730f608cc5514be1917c7934b7a473ba Mon Sep 17 00:00:00 2001 From: Paul Bob Date: Fri, 23 Jun 2023 19:22:17 +0300 Subject: [PATCH] fix: menu icons on community license --- app/components/avo/sidebar_component.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/avo/sidebar_component.html.erb b/app/components/avo/sidebar_component.html.erb index aada0a8168..497a8ac208 100644 --- a/app/components/avo/sidebar_component.html.erb +++ b/app/components/avo/sidebar_component.html.erb @@ -25,7 +25,7 @@
<% 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 %>
@@ -36,7 +36,7 @@
<% 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 %>