File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 12
12
< div class ="space-y-6 mb-4 ">
13
13
<%= render Avo ::Sidebar ::LinkComponent . new label : 'Get started' , path : helpers . avo . root_path , active : :exclusive if Rails . env . development? && Avo . configuration . home_path . nil? %>
14
14
15
- <%= render Avo ::Sidebar ::LinkComponent . new label : 'Media Library' , path : helpers . avo . media_library_index_path , active : :exclusive if Avo ::MediaLibrary . configuration . visible? %>
16
-
17
15
<% if Avo . plugin_manager . installed? ( :avo_menu ) && Avo . has_main_menu? %>
18
16
<% Avo . main_menu . items . each do |item | %>
19
17
<%= render Avo ::Sidebar ::ItemSwitcherComponent . new item : item %>
53
51
</ div >
54
52
</ div >
55
53
<% end %>
54
+
55
+ <% if Avo ::MediaLibrary . configuration . visible? %>
56
+ <%= render Avo ::Sidebar ::LinkComponent . new label : 'Media Library' , path : helpers . avo . media_library_index_path , active : :exclusive %>
57
+ <% end %>
56
58
<% end %>
57
59
58
60
<%= render partial : "/avo/partials/sidebar_extra" %>
You can’t perform that action at this time.
0 commit comments