From 3334570efc82a1bc9ff1c1b30c5ce989772da90c Mon Sep 17 00:00:00 2001
From: Paul Bob <69730720+Paul-Bob@users.noreply.github.com>
Date: Fri, 23 Jun 2023 19:51:07 +0300
Subject: [PATCH] fix: menu icons on community license (#1800)
---
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 %>