Update pagination to match template changes
This commit is contained in:
parent
0e2e2f35e1
commit
fa712a547f
|
@ -1,6 +1,6 @@
|
|||
$('#notifications').append('<% @notifications.each do |notification|
|
||||
%><li class="list-group-item"><div class="media"><%= j render "notifications/type/#{notification.target_type.downcase}", notification: notification
|
||||
%></div></li><% end %>');
|
||||
%><li class="card"><div class="card-body"><div class="media"><%= j render "notifications/type/#{notification.target_type.downcase}", notification: notification
|
||||
%></div></div></li><% end %>');
|
||||
<% if @more_data_available %>
|
||||
$('#pagination').html('<%= j render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @notifications_last_id, permitted_params: %i[type] %>');
|
||||
<% else %>
|
||||
|
|
Loading…
Reference in New Issue