Remove turbo-frame tag in notifications view

This commit is contained in:
Andreas Nedbal 2022-09-08 00:44:12 +02:00 committed by Andreas Nedbal
parent 57b638faaa
commit 1ac6475fb2
1 changed files with 20 additions and 21 deletions

View File

@ -1,5 +1,4 @@
= turbo_frame_tag "notification" do
%ul.list-unstyled#notifications
%ul.list-unstyled#notifications
- if @notifications.count.zero?
%li.card.text-center
.card-body
@ -17,7 +16,7 @@
.media
= render "notifications/type/#{notification.target.class.name.downcase.split('::').last}", notification: notification
- if @more_data_available
- if @more_data_available
.d-flex.justify-content-center.justify-content-sm-start#paginator
= button_to notifications_path(last_id: @notifications_last_id, type: params[:type]), class: "btn btn-light" do
= t("voc.load")