Remove obsolete view

This commit is contained in:
Andreas Nedbal 2022-09-04 21:33:37 +02:00
parent 136f7f117d
commit 3f79ca70aa
1 changed files with 0 additions and 9 deletions

View File

@ -1,9 +0,0 @@
$('#entries').append('<% @inbox.each do |i|
%><%= j render 'inbox/entry', i: i
%><% end %>');
<% if @more_data_available %>
$('#pagination').html('<%= j render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @inbox_last_id %>');
<% else %>
$('#pagination, #load-more-btn').remove();
<% end %>
<% Inbox.where(id: @inbox.pluck(:id)).update_all(new: false) %>