@micromag/media-gallery 0.3.548 → 0.3.551
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 +5 -1
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -128,7 +128,7 @@ var defaultColumns = [{
|
|
|
128
128
|
"value": "Actions"
|
|
129
129
|
}]
|
|
130
130
|
}),
|
|
131
|
-
actions: ['edit']
|
|
131
|
+
actions: ['edit', 'delete']
|
|
132
132
|
// component: ItemActions,
|
|
133
133
|
// label: 'Edit',
|
|
134
134
|
// url: '/edit/1',
|
|
@@ -480,6 +480,10 @@ function MediaGallery(_ref) {
|
|
|
480
480
|
trash: function trash() {
|
|
481
481
|
var _api$medias8;
|
|
482
482
|
return (_api$medias8 = api.medias)["delete"].apply(_api$medias8, arguments);
|
|
483
|
+
},
|
|
484
|
+
restore: function restore() {
|
|
485
|
+
var _api$medias9;
|
|
486
|
+
return (_api$medias9 = api.medias).restore.apply(_api$medias9, arguments);
|
|
483
487
|
}
|
|
484
488
|
};
|
|
485
489
|
}, [api]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/media-gallery",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.551",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"access": "public",
|
|
87
87
|
"registry": "https://registry.npmjs.org/"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "197f35804518016b6a705cdff8b8a0a73717bdf7"
|
|
90
90
|
}
|