apply filters to exported transactions

This commit is contained in:
btzr-io 2018-02-25 21:24:28 -07:00
parent 5ca2e74808
commit aa8a7f4fe3
2 changed files with 5 additions and 4 deletions

View file

@ -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">

View file

@ -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