From 1d5b7606fe347f906e9e106fcd3cdd992ea071f7 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Mon, 31 Mar 2025 15:03:47 -0500 Subject: [PATCH] Only display when looking at just that bucket --- app/views/bubbles/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/bubbles/index.html.erb b/app/views/bubbles/index.html.erb index f14cd107e..99351af73 100644 --- a/app/views/bubbles/index.html.erb +++ b/app/views/bubbles/index.html.erb @@ -25,7 +25,7 @@ <%= render "bubbles/filters", filter: @filter %> - <% 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" %> Settings for <%= bucket.name %>