react-admin-base-bootstrap 0.8.13 → 0.8.14

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.
@@ -142,7 +142,8 @@ export default function BootstrapTable({ url, bordered, noStrip, defaultParams,
142
142
  React.createElement("option", { value: "-1" }, intl.formatMessage({ id: "ALL" })))),
143
143
  children[2],
144
144
  React.createElement(Col, { md: "3", className: "ms-auto" },
145
- React.createElement(Input, { placeholder: intl.formatMessage({ id: "SEARCH" }), type: "text", value: params.query || '', onChange: e => setParams(Object.assign(Object.assign({}, params), { query: e.currentTarget.value })) })))),
145
+ React.createElement(Input, { placeholder: intl.formatMessage({ id: "SEARCH" }), type: "text", value: params.query || '', onChange: e => setParams(Object.assign(Object.assign({}, params), { query: e.currentTarget.value })) }))),
146
+ children[3]),
146
147
  data === null ? React.createElement(Alert, { className: "text-center mb-0 mx-3 ", color: "warning" },
147
148
  React.createElement("i", { className: "fas fa-spinner fa-spin" })) : !data.length ? React.createElement(Alert, { className: "text-center mx-3", color: "danger" },
148
149
  React.createElement("i", { className: "far fa-times-circle" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-admin-base-bootstrap",
3
- "version": "0.8.13",
3
+ "version": "0.8.14",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -186,6 +186,7 @@ export default function BootstrapTable({url, bordered, noStrip, defaultParams, a
186
186
  />
187
187
  </Col>
188
188
  </Row>
189
+ {children[3]}
189
190
  </CardHeader>
190
191
  {data === null ? <Alert className="text-center mb-0 mx-3 " color="warning"><i className="fas fa-spinner fa-spin"></i></Alert> : !data.length ? <Alert className="text-center mx-3" color="danger">
191
192
  <i className="far fa-times-circle"></i> <FormattedMessage id="NO_DATA_IS_AVAILABLE"/>