From 9ac34f88823a1abd00582da15c9d2b33dddc09c7 Mon Sep 17 00:00:00 2001 From: Jay Ohms Date: Thu, 8 Jan 2026 22:46:47 -0500 Subject: [PATCH] Only apply the "Don't/Watch this" bridge target for the text variant (for the overflow on the board perma) --- app/helpers/accesses_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/accesses_helper.rb b/app/helpers/accesses_helper.rb index e26b24346..196ca607e 100644 --- a/app/helpers/accesses_helper.rb +++ b/app/helpers/accesses_helper.rb @@ -49,7 +49,7 @@ module AccessesHelper aria: { labelledby: dom_id(board, :involvement_label) }, title: (label_text if icon_only), class: class_names("btn", { "btn--reversed": access.watching? && icon_only }), - data: { bridge__overflow_menu_target: "item" }) do + data: !icon_only && { bridge__overflow_menu_target: "item" }) do icon_tag("notification-bell-#{icon_only ? 'reverse-' : nil}#{access.involvement.dasherize}") + tag.span(label_text, class: class_names("txt-nowrap txt-uppercase", "for-screen-reader": icon_only), id: dom_id(board, :involvement_label)) end