Use class_names helper

This commit is contained in:
Andy Smith
2025-09-22 11:22:40 -05:00
parent 2ecbe2cb7e
commit 7fec5a98c1
+1 -1
View File
@@ -57,7 +57,7 @@ module AccessesHelper
icon_tag("notification-bell-#{access.involvement.dasherize}"),
tag.span(
involvement_access_label(collection, access.involvement),
class: "txt-nowrap txt-uppercase#{icon_only ? ' for-screen-reader' : ''}",
class: class_names("txt-nowrap txt-uppercase", "for-screen-reader": icon_only),
id: involvement_label_id
)
])