@panneau/core 3.0.161 → 3.0.162
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 +2 -2
- package/lib/hooks.js +2 -2
- package/package.json +2 -2
package/es/hooks.js
CHANGED
|
@@ -86,8 +86,6 @@ var useActions = function useActions() {
|
|
|
86
86
|
theme: 'primary',
|
|
87
87
|
onClick: onClickEdit
|
|
88
88
|
}, getEditPropsFromItem !== null ? getEditPropsFromItem(item) : null);
|
|
89
|
-
case 'duplicate':
|
|
90
|
-
return null;
|
|
91
89
|
// case 'duplicate':
|
|
92
90
|
// return {
|
|
93
91
|
// id: 'duplicate',
|
|
@@ -112,6 +110,8 @@ var useActions = function useActions() {
|
|
|
112
110
|
// ? getDuplicatePropsFromItem(item)
|
|
113
111
|
// : null),
|
|
114
112
|
// };
|
|
113
|
+
case 'duplicate':
|
|
114
|
+
return null;
|
|
115
115
|
case 'delete':
|
|
116
116
|
return _objectSpread({
|
|
117
117
|
id: 'delete',
|
package/lib/hooks.js
CHANGED
|
@@ -88,8 +88,6 @@ var useActions = function useActions() {
|
|
|
88
88
|
theme: 'primary',
|
|
89
89
|
onClick: onClickEdit
|
|
90
90
|
}, getEditPropsFromItem !== null ? getEditPropsFromItem(item) : null);
|
|
91
|
-
case 'duplicate':
|
|
92
|
-
return null;
|
|
93
91
|
// case 'duplicate':
|
|
94
92
|
// return {
|
|
95
93
|
// id: 'duplicate',
|
|
@@ -114,6 +112,8 @@ var useActions = function useActions() {
|
|
|
114
112
|
// ? getDuplicatePropsFromItem(item)
|
|
115
113
|
// : null),
|
|
116
114
|
// };
|
|
115
|
+
case 'duplicate':
|
|
116
|
+
return null;
|
|
117
117
|
case 'delete':
|
|
118
118
|
return _objectSpread({
|
|
119
119
|
id: 'delete',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.162",
|
|
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": "82936217c80643ad52d9b425a7a8c374d6264d8e"
|
|
115
115
|
}
|