app/components/lookbook/header/component.html.erb in lookbook-1.0.0.beta.3 vs app/components/lookbook/header/component.html.erb in lookbook-1.0.0.beta.4
- old
+ new
@@ -10,10 +10,10 @@
<% end %>
<% end %>
<% toolbar.section padded: false, align: :right, class: "flex items-center" do %>
<%= render_component :button_group do |group| %>
- <% if Rails.env.development? %>
+ <% if @debug_menu %>
<% group.button icon: :help_circle, class: "opacity-50 hover:opacity-100 transition !text-lookbook-header-text" do |button| %>
<% button.dropdown do %>
<%= tag.div class: "divide-y divide-lookbook-divider min-w-[180px]" do %>
<div class="px-3 py-3">
<ul class="space-y-2 opacity-80">
\ No newline at end of file