mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
fix financial statements.
This commit is contained in:
@@ -157,6 +157,10 @@ function GeneralLedgerTable({
|
||||
() => defaultExpanderReducer(generalLedgerTableRows, 1),
|
||||
[generalLedgerTableRows]);
|
||||
|
||||
const rowClassNames = (row) => ([
|
||||
`row-type--${row.original.rowType}`,
|
||||
]);
|
||||
|
||||
return (
|
||||
<FinancialSheet
|
||||
companyName={companyName}
|
||||
@@ -171,10 +175,13 @@ function GeneralLedgerTable({
|
||||
columns={columns}
|
||||
data={generalLedgerTableRows}
|
||||
onFetchData={handleFetchData}
|
||||
rowClassNames={rowClassNames}
|
||||
expanded={expandedRows}
|
||||
virtualizedRows={true}
|
||||
fixedItemSize={37}
|
||||
fixedSizeHeight={1000} />
|
||||
fixedSizeHeight={1000}
|
||||
expandable={true}
|
||||
expandToggleColumn={1} />
|
||||
</FinancialSheet>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user