Skip to content

Commit

Permalink
fixing frontend get_all_jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dakk committed May 27, 2024
1 parent 0ea218c commit 7f83e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dqpu-frontend/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function get_all_jobs(slice, total) {
for (let i = 0; i < total; i) {
console.log('getting',i,total,slice)
const nj = (await viewMethod('get_jobs', { from_index: i, limit: slice }));
i += nj.length;
i += slice;
jobs = jobs.concat(nj);
}
console.log('All jobs are '+(jobs.length));
Expand Down

0 comments on commit 7f83e4d

Please sign in to comment.