From d2b022a17db49afe9ec0e2fdca0356031119ae12 Mon Sep 17 00:00:00 2001 From: artoscinote <85488244+artoscinote@users.noreply.github.com> Date: Tue, 6 Sep 2022 12:10:20 +0200 Subject: [PATCH] Remove obsolete code [SCI-7160] (#4412) --- app/assets/javascripts/projects/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/assets/javascripts/projects/index.js b/app/assets/javascripts/projects/index.js index d21d9ac60..1bc74a670 100644 --- a/app/assets/javascripts/projects/index.js +++ b/app/assets/javascripts/projects/index.js @@ -486,10 +486,6 @@ var ProjectsIndex = (function() { viewContainer.addClass('no-results'); } - if (!data.next_page) { - $(cardsWrapper).addClass('last-page'); - } - selectedProjects.length = 0; selectedProjectFolders.length = 0; updateProjectsToolbar();