mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat: export reports csv and xlsx (#286)
This commit is contained in:
@@ -22,7 +22,9 @@ export function tableRowMapper(
|
||||
): ITableRow {
|
||||
const cells = columns.map((column) => ({
|
||||
key: column.key,
|
||||
value: column.value ? column.value : getAccessor(object, column.accessor),
|
||||
value: column.value
|
||||
? column.value
|
||||
: getAccessor(object, column.accessor) || '',
|
||||
}));
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user