sr-npm 1.2.37 → 1.2.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -125,8 +125,8 @@ async function handleUrlParams(_$w,urlParams) {
|
|
|
125
125
|
let data = await _$w("#jobsDataset").getItems(0, 1000);
|
|
126
126
|
items.push(...data.items);
|
|
127
127
|
|
|
128
|
-
while (_$w("#jobsDataset").
|
|
129
|
-
_$w("#jobsDataset").
|
|
128
|
+
while (_$w("#jobsDataset").hasNextPage()) {
|
|
129
|
+
await _$w("#jobsDataset").nextPage();
|
|
130
130
|
const nextItems = await _$w("#jobsDataset").getItems(0, 1000);
|
|
131
131
|
items.push(...nextItems.items);
|
|
132
132
|
}
|