@panneau/medias 3.0.250 → 3.0.252
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/index.js +2 -2
- package/package.json +2 -2
package/es/index.js
CHANGED
@@ -1271,7 +1271,7 @@ function MediasBrowser(_ref) {
|
|
1271
1271
|
loading: true,
|
1272
1272
|
actionsDisabled: true,
|
1273
1273
|
selectionDisabled: true
|
1274
|
-
}] : []), _toConsumableArray(page === 1 && !hasQueryItem ? uploadedMedias || [] : []), _toConsumableArray(page === 1 && !hasQueryItem ? (extraItems || []).map(function (item) {
|
1274
|
+
}] : []), _toConsumableArray(page === 1 && !hasQueryItem ? uploadedMedias || [] : []), _toConsumableArray(page === 1 && !hasQueryItem && !showTrashed ? (extraItems || []).map(function (item) {
|
1275
1275
|
var _item$id = item.id,
|
1276
1276
|
itemId = _item$id === void 0 ? null : _item$id;
|
1277
1277
|
return (allItems || []).find(function () {
|
@@ -1287,7 +1287,7 @@ function MediasBrowser(_ref) {
|
|
1287
1287
|
});
|
1288
1288
|
}
|
1289
1289
|
return items;
|
1290
|
-
}, [items, page, allItems, withStickySelection, extraItems, uploadProcessing, hasQueryItem]);
|
1290
|
+
}, [items, page, allItems, withStickySelection, extraItems, uploadProcessing, hasQueryItem, showTrashed]);
|
1291
1291
|
|
1292
1292
|
// const emptyWithSticky = useMemo(
|
1293
1293
|
// () => (items || []).length === 0 && (finalItems || []).length > 0,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@panneau/medias",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.252",
|
4
4
|
"description": "",
|
5
5
|
"keywords": [
|
6
6
|
"javascript"
|
@@ -74,5 +74,5 @@
|
|
74
74
|
"publishConfig": {
|
75
75
|
"access": "public"
|
76
76
|
},
|
77
|
-
"gitHead": "
|
77
|
+
"gitHead": "bad1376b498ee127d28274ba3765f00cf4e86bef"
|
78
78
|
}
|