@mackin.com/styleguide 9.3.0 → 9.3.1
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3355,7 +3355,7 @@ class ItemPager {
|
|
|
3355
3355
|
var _a, _b, _c, _d;
|
|
3356
3356
|
this._page = 0;
|
|
3357
3357
|
this._allItems = allItems || [];
|
|
3358
|
-
this._limitOptions = (
|
|
3358
|
+
this._limitOptions = (options === null || options === void 0 ? void 0 : options.limitOptions) || ((_a = options === null || options === void 0 ? void 0 : options.previous) === null || _a === void 0 ? void 0 : _a.limitOptions) || [10];
|
|
3359
3359
|
this._limit = ((_b = options === null || options === void 0 ? void 0 : options.previous) === null || _b === void 0 ? void 0 : _b.limit) || (options === null || options === void 0 ? void 0 : options.limit) || 10;
|
|
3360
3360
|
this._filteredItems = [...allItems];
|
|
3361
3361
|
this._pageResult = this.createPageResult();
|