@panneau/core 3.0.150 → 3.0.151
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/es/hooks.js +1 -1
- package/lib/hooks.js +1 -1
- package/package.json +2 -2
package/es/hooks.js
CHANGED
|
@@ -1203,7 +1203,7 @@ var useItemSelection = function useItemSelection(_ref) {
|
|
|
1203
1203
|
var _ref12 = it || {},
|
|
1204
1204
|
_ref12$id = _ref12.id,
|
|
1205
1205
|
id = _ref12$id === void 0 ? null : _ref12$id;
|
|
1206
|
-
return ids.indexOf(id) !== -1;
|
|
1206
|
+
return (ids || []).indexOf(id) !== -1;
|
|
1207
1207
|
});
|
|
1208
1208
|
return currentPageItems.length === (items || []).length && currentPageItems.length > 0;
|
|
1209
1209
|
}, [selectedItems, items]);
|
package/lib/hooks.js
CHANGED
|
@@ -1205,7 +1205,7 @@ var useItemSelection = function useItemSelection(_ref) {
|
|
|
1205
1205
|
var _ref12 = it || {},
|
|
1206
1206
|
_ref12$id = _ref12.id,
|
|
1207
1207
|
id = _ref12$id === void 0 ? null : _ref12$id;
|
|
1208
|
-
return ids.indexOf(id) !== -1;
|
|
1208
|
+
return (ids || []).indexOf(id) !== -1;
|
|
1209
1209
|
});
|
|
1210
1210
|
return currentPageItems.length === (items || []).length && currentPageItems.length > 0;
|
|
1211
1211
|
}, [selectedItems, items]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.151",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"publishConfig": {
|
|
112
112
|
"access": "public"
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "db4097cc862220739061b8821137d525e7709f6f"
|
|
115
115
|
}
|