diff --git a/app/components/avo/sidebar_profile_component.html.erb b/app/components/avo/sidebar_profile_component.html.erb
index ea9557326..89b107a0d 100644
--- a/app/components/avo/sidebar_profile_component.html.erb
+++ b/app/components/avo/sidebar_profile_component.html.erb
@@ -30,7 +30,7 @@
data-transition-leave-start="transform opacity-100 translate-y-0"
data-transition-leave-end="transform opacity-0 translate-y-3"
>
- <% if Avo.plugin_manager.installed?(:avo_menu) && Avo.has_profile_menu? %>
+ <% if Avo.plugin_manager.installed?("avo-menu") && Avo.has_profile_menu? %>
<% Avo.profile_menu.items.each do |item| %>
<% if item.is_a? Avo::Menu::Link %>
diff --git a/lib/avo.rb b/lib/avo.rb
index 2a50a5384..d0b289c6d 100644
--- a/lib/avo.rb
+++ b/lib/avo.rb
@@ -95,7 +95,7 @@ def root_path(paths: [], query: {}, **args)
end
def main_menu
- return unless Avo.plugin_manager.installed?(:avo_menu)
+ return unless Avo.plugin_manager.installed?("avo-menu")
# Return empty menu if the app doesn't have the profile menu configured
return Avo::Menu::Builder.new.build unless has_main_menu?
@@ -104,7 +104,7 @@ def main_menu
end
def profile_menu
- return unless Avo.plugin_manager.installed?(:avo_menu)
+ return unless Avo.plugin_manager.installed?("avo-menu")
# Return empty menu if the app doesn't have the profile menu configured
return Avo::Menu::Builder.new.build unless has_profile_menu?