Explorar o código

HUE-6726 [jb] New jobs gets pushed to the end of the list of jobs

Romain Rigaux %!s(int64=8) %!d(string=hai) anos
pai
achega
6c14289a1b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/jobbrowser/src/jobbrowser/templates/job_browser.mako

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/job_browser.mako

@@ -2043,7 +2043,7 @@ ${ commonheader("Job Browser", "jobbrowser", user, request) | n,unicode }
             }
 
             newJobs.forEach(function (job) {
-              self.apps.push(job);
+              self.apps.unshift(job);
             });
 
             self.totalApps(data.total);