apply filters to exported transactions
This commit is contained in:
parent
5ca2e74808
commit
aa8a7f4fe3
2 changed files with 5 additions and 4 deletions
|
@ -46,9 +46,10 @@ class TransactionList extends React.PureComponent {
|
|||
<div>
|
||||
{Boolean(transactionList.length) && (
|
||||
<FileExporter
|
||||
data={transactions}
|
||||
title={__("Export Transactions")}
|
||||
label={__("Export")} />
|
||||
data={transactionList}
|
||||
title={__('Export Transactions')}
|
||||
label={__('Export')}
|
||||
/>
|
||||
)}
|
||||
{(transactionList.length || this.state.filter) && (
|
||||
<span className="sort-section">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Beautify JSON
|
||||
const parseJson = data => JSON.stringify(data, null, "\t");
|
||||
const parseJson = data => JSON.stringify(data, null, '\t');
|
||||
|
||||
// No need for an external module:
|
||||
// https://gist.github.com/btzr-io/55c3450ea3d709fc57540e762899fb85
|
||||
|
|
Loading…
Reference in a new issue