@panneau/app 1.0.0-alpha.227 → 1.0.0-alpha.228
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/lib/index.js +2 -2
- package/package.json +2 -2
package/es/index.js
CHANGED
@@ -1044,13 +1044,13 @@ var ResourceIndexPage = function ResourceIndexPage(_ref) {
|
|
1044
1044
|
actionProps = _objectWithoutProperties(_ref5, _excluded);
|
1045
1045
|
|
1046
1046
|
var ActionComponent = isString(component) ? componentsManager.getComponent(component) : component;
|
1047
|
-
return /*#__PURE__*/React.createElement(ActionComponent, Object.assign({
|
1047
|
+
return ActionComponent !== null ? /*#__PURE__*/React.createElement(ActionComponent, Object.assign({
|
1048
1048
|
key: "action-".concat(id)
|
1049
1049
|
}, actionProps, ActionComponent !== Button ? {
|
1050
1050
|
resource: resource,
|
1051
1051
|
query: query,
|
1052
1052
|
onQueryChange: onQueryChange
|
1053
|
-
} : {}));
|
1053
|
+
} : {})) : null;
|
1054
1054
|
})) : null
|
1055
1055
|
}), /*#__PURE__*/React.createElement("div", {
|
1056
1056
|
className: classNames(['container-sm py-4'])
|
package/lib/index.js
CHANGED
@@ -1073,13 +1073,13 @@ var ResourceIndexPage = function ResourceIndexPage(_ref) {
|
|
1073
1073
|
actionProps = _objectWithoutProperties__default["default"](_ref5, _excluded);
|
1074
1074
|
|
1075
1075
|
var ActionComponent = isString__default["default"](component) ? componentsManager.getComponent(component) : component;
|
1076
|
-
return /*#__PURE__*/React__default["default"].createElement(ActionComponent, Object.assign({
|
1076
|
+
return ActionComponent !== null ? /*#__PURE__*/React__default["default"].createElement(ActionComponent, Object.assign({
|
1077
1077
|
key: "action-".concat(id)
|
1078
1078
|
}, actionProps, ActionComponent !== Button__default["default"] ? {
|
1079
1079
|
resource: resource,
|
1080
1080
|
query: query,
|
1081
1081
|
onQueryChange: onQueryChange
|
1082
|
-
} : {}));
|
1082
|
+
} : {})) : null;
|
1083
1083
|
})) : null
|
1084
1084
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
1085
1085
|
className: classNames__default["default"](['container-sm py-4'])
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@panneau/app",
|
3
|
-
"version": "1.0.0-alpha.
|
3
|
+
"version": "1.0.0-alpha.228",
|
4
4
|
"description": "",
|
5
5
|
"keywords": [
|
6
6
|
"javascript"
|
@@ -98,5 +98,5 @@
|
|
98
98
|
"publishConfig": {
|
99
99
|
"access": "public"
|
100
100
|
},
|
101
|
-
"gitHead": "
|
101
|
+
"gitHead": "33d8bdac237fc3a3318acd3d14ef5a17e9b5388c"
|
102
102
|
}
|