From 427c6b5d64f1c8f25539a470fddf1b3fcd6d4c5f Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 4 Sep 2022 21:32:31 +0200 Subject: [PATCH] Remove obsolete view --- app/views/moderation/reports/index.js.erb | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 app/views/moderation/reports/index.js.erb diff --git a/app/views/moderation/reports/index.js.erb b/app/views/moderation/reports/index.js.erb deleted file mode 100644 index d518ecdf..00000000 --- a/app/views/moderation/reports/index.js.erb +++ /dev/null @@ -1,6 +0,0 @@ -$('#reports').append('<% @reports.each do |report| %><%= j render "moderation/moderationbox", report: report %><% end %>'); -<% if @more_data_available %> - $('#pagination').html('<%= j render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @reports_last_id, permitted_params: %i[type] %>'); -<% else %> - $('#pagination, #load-more-btn').remove(); -<% end %>