Only display when looking at just that bucket

This commit is contained in:
Jason Zimdars
2025-03-31 15:03:47 -05:00
parent a6e99e0912
commit 1d5b7606fe
+1 -1
View File
@@ -25,7 +25,7 @@
<%= render "bubbles/filters", filter: @filter %>
</header>
<% if bucket = @filter.buckets.first %>
<% if (bucket = @filter.buckets.first) && @filter.buckets.one? %>
<%= link_to edit_bucket_path(bucket), class: "btn flex-item-justify-end" do %>
<%= icon_tag "settings" %>
<span class="for-screen-reader">Settings for <%= bucket.name %></span>