app/views/avo/sidebar/_sidebar.html.erb in avo-1.2.4 vs app/views/avo/sidebar/_sidebar.html.erb in avo-1.2.5
- old
+ new
@@ -4,10 +4,11 @@
<%= render partial: "avo/partials/logo" %>
<% end %>
<div class="flex-1 flex flex-col justify-between">
<div class="tools py-4">
- <%= render Avo::NavigationLinkComponent.new label: 'Get started', path: Avo.configuration.root_path, active: :exclusive if Rails.env.development? %>
+ <%= render Avo::NavigationLinkComponent.new label: 'Get started', path: Avo.configuration.root_path, active: :exclusive if Rails.env.development? && Avo.configuration.home_path.nil? %>
+
<%= render Avo::NavigationHeadingComponent.new label: t('avo.resources') %>
<div class="w-full">
<% Avo::App.resources_navigation(_current_user).each do |resource| %>
<%= render Avo::NavigationLinkComponent.new label: resource.name.pluralize.humanize, path: resources_path(resource.model_class) %>