Skip to content

Commit 05ab977

Browse files
committed
minor
1 parent a955f37 commit 05ab977

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/static-webserver/client/source/class/osparc/jobs/RunsTableModel.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,8 @@ qx.Class.define("osparc.jobs.RunsTableModel", {
132132

133133
// Limit the request to smaller chunks for better pagination
134134
const serverMaxLimit = osparc.store.Jobs.SERVER_MAX_LIMIT;
135-
const PAGE_SIZE = serverMaxLimit;
136135
const nextChunkStart = this.__findNextChunkStart(firstRow);
137-
const lastRow = Math.min(nextChunkStart + PAGE_SIZE - 1, this._rowCount - 1);
136+
const lastRow = Math.min(nextChunkStart + serverMaxLimit - 1, this._rowCount - 1);
138137

139138
console.info(`📏 Loading sequential chunk: ${nextChunkStart}-${lastRow} (requested: ${firstRow}-${qxLastRow})`);
140139

0 commit comments

Comments
 (0)