@bigbinary/neeto-fields-frontend 2.3.11 → 2.3.12

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.
@@ -340,8 +340,7 @@ var FieldsTable = function FieldsTable(_ref) {
340
340
  }
341
341
  };
342
342
  }
343
- return /*#__PURE__*/jsxRuntime.jsx(TableWrapper, {
344
- hasPagination: totalCount > constants.DEFAULT_PAGE_SIZE,
343
+ return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
345
344
  children: showNoDataScreen ? /*#__PURE__*/jsxRuntime.jsx("div", {
346
345
  className: "flex h-full w-full items-center justify-center",
347
346
  children: /*#__PURE__*/jsxRuntime.jsx(NoData, _objectSpread$2({
@@ -352,20 +351,23 @@ var FieldsTable = function FieldsTable(_ref) {
352
351
  title: title
353
352
  })
354
353
  }, noDataProps))
355
- }) : /*#__PURE__*/jsxRuntime.jsx(Table, {
356
- columnData: columnData,
357
- rowData: rowData,
358
- totalCount: totalCount,
359
- fixedHeight: true,
360
- allowRowClick: false,
361
- currentPageNumber: page,
362
- defaultPageSize: pageSize,
363
- handlePageChange: function handlePageChange(page) {
364
- return setPageProps(_objectSpread$2(_objectSpread$2({}, pageProps), {}, {
365
- page: page
366
- }));
367
- },
368
- loading: isFetching
354
+ }) : /*#__PURE__*/jsxRuntime.jsx(TableWrapper, {
355
+ hasPagination: totalCount > constants.DEFAULT_PAGE_SIZE,
356
+ children: /*#__PURE__*/jsxRuntime.jsx(Table, {
357
+ columnData: columnData,
358
+ rowData: rowData,
359
+ totalCount: totalCount,
360
+ fixedHeight: true,
361
+ allowRowClick: false,
362
+ currentPageNumber: page,
363
+ defaultPageSize: pageSize,
364
+ handlePageChange: function handlePageChange(page) {
365
+ return setPageProps(_objectSpread$2(_objectSpread$2({}, pageProps), {}, {
366
+ page: page
367
+ }));
368
+ },
369
+ loading: isFetching
370
+ })
369
371
  })
370
372
  });
371
373
  };
@@ -4799,7 +4801,8 @@ var ReorderPane = function ReorderPane(_ref) {
4799
4801
  };
4800
4802
 
4801
4803
  var Subheader = function Subheader(_ref) {
4802
- var count = _ref.count,
4804
+ var _ref$count = _ref.count,
4805
+ count = _ref$count === void 0 ? 0 : _ref$count,
4803
4806
  reorderable = _ref.reorderable,
4804
4807
  searchKeywordProps = _ref.searchKeywordProps,
4805
4808
  setIsReorderPaneOpen = _ref.setIsReorderPaneOpen,
@@ -4816,6 +4819,7 @@ var Subheader = function Subheader(_ref) {
4816
4819
  count: count
4817
4820
  })
4818
4821
  }), /*#__PURE__*/jsxRuntime.jsx(FilterBar, {
4822
+ className: "mb-0",
4819
4823
  keyword: searchKeywordProps
4820
4824
  })]
4821
4825
  }),