diff --git a/app/views/notifications/_tray.html.erb b/app/views/notifications/_tray.html.erb index 9b3c55867..9095f1946 100644 --- a/app/views/notifications/_tray.html.erb +++ b/app/views/notifications/_tray.html.erb @@ -15,13 +15,13 @@
<%= button_to read_all_notifications_path, - class: "notification-tray__read_action btn btn--reversed fill-transparent borderless flex-item-justify-start shadow txt-xx-small", + class: "notification-tray__read_action btn btn--reversed fill-transparent borderless flex-item-justify-start shadow txt-xx-small", data: { action: "click->dialog#close", turbo_frame: "notifications" } do %> <%= icon_tag "check" %> Mark all read <% end %> <%= link_to tag.span("Notifications"), notifications_path, - class: "btn btn--reversed borderless fill-transparent translucent shadow center txt-uppercase txt-x-small", + class: "btn btn--reversed borderless fill-transparent translucent shadow center txt-uppercase txt-x-small", data: { action: "click->dialog#close" } %>