Sha256: 33c604201dc38ea4926cd3753f354216df210b414d728a08e314a7d836c45b1e

Contents?: true

Size: 757 Bytes

Versions: 75

Compression:

Stored size: 757 Bytes

Contents

<% if item.is_a? Avo::Menu::Link %>
  <%= render Avo::Sidebar::LinkComponent.new label: item.name, path: item.path, target: item.target, data: item.data %>
<% end %>
<% if item.is_a? Avo::Menu::Resource %>
  <%= render Avo::Sidebar::LinkComponent.new label: item.navigation_label, path: helpers.resources_path(resource: resource), data: item.data %>
<% end %>
<% if item.is_a? Avo::Menu::Dashboard %>
  <%= render Avo::Sidebar::LinkComponent.new label: item.navigation_label, path: dashboard.navigation_path, data: item.data %>
<% end %>
<% if item.is_a? Avo::Menu::Section %>
  <%= render Avo::Sidebar::SectionComponent.new item: item %>
<% end %>
<% if item.is_a? Avo::Menu::Group %>
  <%= render Avo::Sidebar::GroupComponent.new item: item %>
<% end %>

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
avo-2.35.0 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.34.7.pre.1 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.34.6 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.34.5 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.34.4 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.34.4.pre.1 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.34.3 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.34.2 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.34.1 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.34.0 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.33.3 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.33.3.pre.2 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.33.3.pre.1 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.33.2 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.33.1 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.33.0 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.32.6 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.32.5 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.32.4 app/components/avo/sidebar/item_switcher_component.html.erb
avo-2.32.3 app/components/avo/sidebar/item_switcher_component.html.erb