@mjhls/mjh-framework 1.0.850-beta.1 → 1.0.850-beta.2
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.
|
@@ -2436,23 +2436,22 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
2436
2436
|
|
|
2437
2437
|
var fetcher = function () {
|
|
2438
2438
|
var _ref4 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(currentPage) {
|
|
2439
|
-
var start
|
|
2439
|
+
var start;
|
|
2440
2440
|
return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
|
|
2441
2441
|
while (1) {
|
|
2442
2442
|
switch (_context.prev = _context.next) {
|
|
2443
2443
|
case 0:
|
|
2444
2444
|
start = (currentPage - 1) * itemsPerPage;
|
|
2445
|
-
|
|
2445
|
+
_context.next = 3;
|
|
2446
|
+
return client.fetch(query, _extends._extends({}, params, {
|
|
2446
2447
|
from: start,
|
|
2447
2448
|
to: start + itemsPerPage
|
|
2448
|
-
});
|
|
2449
|
-
_context.next = 4;
|
|
2450
|
-
return client.fetch(query, params);
|
|
2449
|
+
}));
|
|
2451
2450
|
|
|
2452
|
-
case
|
|
2451
|
+
case 3:
|
|
2453
2452
|
return _context.abrupt('return', _context.sent);
|
|
2454
2453
|
|
|
2455
|
-
case
|
|
2454
|
+
case 4:
|
|
2456
2455
|
case 'end':
|
|
2457
2456
|
return _context.stop();
|
|
2458
2457
|
}
|
|
@@ -2430,23 +2430,22 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
2430
2430
|
|
|
2431
2431
|
var fetcher = function () {
|
|
2432
2432
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(currentPage) {
|
|
2433
|
-
var start
|
|
2433
|
+
var start;
|
|
2434
2434
|
return regenerator.wrap(function _callee$(_context) {
|
|
2435
2435
|
while (1) {
|
|
2436
2436
|
switch (_context.prev = _context.next) {
|
|
2437
2437
|
case 0:
|
|
2438
2438
|
start = (currentPage - 1) * itemsPerPage;
|
|
2439
|
-
|
|
2439
|
+
_context.next = 3;
|
|
2440
|
+
return client.fetch(query, _extends({}, params, {
|
|
2440
2441
|
from: start,
|
|
2441
2442
|
to: start + itemsPerPage
|
|
2442
|
-
});
|
|
2443
|
-
_context.next = 4;
|
|
2444
|
-
return client.fetch(query, params);
|
|
2443
|
+
}));
|
|
2445
2444
|
|
|
2446
|
-
case
|
|
2445
|
+
case 3:
|
|
2447
2446
|
return _context.abrupt('return', _context.sent);
|
|
2448
2447
|
|
|
2449
|
-
case
|
|
2448
|
+
case 4:
|
|
2450
2449
|
case 'end':
|
|
2451
2450
|
return _context.stop();
|
|
2452
2451
|
}
|