From 39ebeadc08f8bff8935a71789506fb337ea079eb Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 20 Mar 2025 18:04:39 -0500 Subject: [PATCH] Hide button when empty --- app/views/bubbles/pins/_tray.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/bubbles/pins/_tray.html.erb b/app/views/bubbles/pins/_tray.html.erb index 98963bb8c..cab89eaef 100644 --- a/app/views/bubbles/pins/_tray.html.erb +++ b/app/views/bubbles/pins/_tray.html.erb @@ -5,7 +5,7 @@ <%= turbo_frame_tag "pins", src: bubbles_pins_tray_path %>
- <%= tag.button type: "button", class: "pin-tray__all_action btn flex-item-justify-start shadow", data: { action: "click->dialog#close"} do %> + <%= tag.button type: "button", class: "tray__all_action btn flex-item-justify-start shadow", data: { action: "click->dialog#close"} do %> <%= image_tag "remove-med.svg", aria: { hidden: true }, size: 24 %> Close <% end %>