Skip to content

Commit

Permalink
Capital loans page broken on WooCommerce 8.2 (#7569)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Jinks <[email protected]>
  • Loading branch information
brucealdridge and Jinksi authored Oct 27, 2023
1 parent 92525c2 commit 1dce102
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog/fix-7531-captial-loans
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

Capital loans page broken on WooCommerce 8.2.0
1 change: 1 addition & 0 deletions client/capital/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ const CapitalPage = (): JSX.Element => {
totalRows={ loans.length }
headers={ columns }
rows={ getRowsData( loans ) }
rowsPerPage={ loans.length }
summary={ getSummary( loans ) }
showMenu={ false }
/>
Expand Down
2 changes: 1 addition & 1 deletion client/transactions/declarations.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ declare module '@woocommerce/components' {
className?: string;
title?: string;
isLoading?: boolean;
rowsPerPage?: number;
rowsPerPage: number;
totalRows?: number;
headers?: TableCardColumn[];
rows?: TableCardBodyColumn[][];
Expand Down

0 comments on commit 1dce102

Please sign in to comment.