@panneau/medias 3.0.254 → 3.0.257

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.
Files changed (2) hide show
  1. package/es/index.js +3 -0
  2. package/package.json +17 -17
package/es/index.js CHANGED
@@ -1140,6 +1140,9 @@ function MediasBrowser(_ref) {
1140
1140
  }, [onSelectionChange, setUploadedMedias, uploadedMedias, onQueryReset, reload, multipleSelection]);
1141
1141
  var onUploadComplete = useCallback(function () {
1142
1142
  var medias = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
1143
+ if (showTrashed) {
1144
+ setShowTrashed(false);
1145
+ }
1143
1146
  if (medias === null) return;
1144
1147
  var rawMedias = (isArray(medias) ? medias : [medias]).filter(function (it) {
1145
1148
  return it !== null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/medias",
3
- "version": "3.0.254",
3
+ "version": "3.0.257",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -51,21 +51,21 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@babel/runtime": "^7.12.5",
54
- "@panneau/core": "^3.0.244",
55
- "@panneau/data": "^3.0.244",
56
- "@panneau/display-image": "^3.0.244",
57
- "@panneau/element-button": "^3.0.244",
58
- "@panneau/element-buttons": "^3.0.244",
59
- "@panneau/element-form": "^3.0.244",
60
- "@panneau/element-form-status": "^3.0.244",
61
- "@panneau/element-grid": "^3.0.244",
62
- "@panneau/element-icon": "^3.0.244",
63
- "@panneau/element-media-card": "^3.0.244",
64
- "@panneau/element-media-player": "^3.0.244",
65
- "@panneau/element-pagination": "^3.0.244",
66
- "@panneau/element-table": "^3.0.244",
67
- "@panneau/field-upload": "^3.0.250",
68
- "@panneau/filter-filters": "^3.0.250",
54
+ "@panneau/core": "^3.0.256",
55
+ "@panneau/data": "^3.0.256",
56
+ "@panneau/display-image": "^3.0.256",
57
+ "@panneau/element-button": "^3.0.256",
58
+ "@panneau/element-buttons": "^3.0.256",
59
+ "@panneau/element-form": "^3.0.256",
60
+ "@panneau/element-form-status": "^3.0.256",
61
+ "@panneau/element-grid": "^3.0.256",
62
+ "@panneau/element-icon": "^3.0.256",
63
+ "@panneau/element-media-card": "^3.0.256",
64
+ "@panneau/element-media-player": "^3.0.256",
65
+ "@panneau/element-pagination": "^3.0.256",
66
+ "@panneau/element-table": "^3.0.256",
67
+ "@panneau/field-upload": "^3.0.256",
68
+ "@panneau/filter-filters": "^3.0.256",
69
69
  "classnames": "^2.5.1",
70
70
  "lodash": "^4.17.21",
71
71
  "prop-types": "^15.7.2",
@@ -74,5 +74,5 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "aa47872774c9e55b63075ed440668ff63aff14a8"
77
+ "gitHead": "7274a697e64407c43e1580402612492327961ffa"
78
78
  }