@inceptionbg/iui 2.0.27 → 2.0.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inceptionbg/iui",
3
- "version": "2.0.27",
3
+ "version": "2.0.28",
4
4
  "description": "UI components, elements & utils for Inception ecosystem",
5
5
  "type": "module",
6
6
  "exports": {
@@ -235,19 +235,16 @@ export const TableContent: FC = () => {
235
235
  </table>
236
236
  </ConditionalWrapper>
237
237
  </div>
238
- {footer &&
239
- !footer.hidden &&
240
- (!!data.length ||
241
- (noTotalRows && (footer.paginationControl?.offset ?? 0) > 0)) && (
242
- <TableFooter
243
- pagination={footer.paginationControl}
244
- totalRows={footer.totalRows}
245
- noTotalRows={noTotalRows}
246
- customLimit={footer.customPagination?.customLimit}
247
- refetch={footer.refetch}
248
- dataLength={data.length}
249
- />
250
- )}
238
+ {footer && !footer.hidden && (
239
+ <TableFooter
240
+ pagination={footer.paginationControl}
241
+ totalRows={footer.totalRows}
242
+ noTotalRows={noTotalRows}
243
+ customLimit={footer.customPagination?.customLimit}
244
+ refetch={footer.refetch}
245
+ dataLength={data.length}
246
+ />
247
+ )}
251
248
  </div>
252
249
  </Loader>
253
250
  );