update component
This commit is contained in:
parent
45209c5a91
commit
006c2f01fa
2 changed files with 7 additions and 2 deletions
|
@ -64,7 +64,7 @@ class FileExporter extends React.PureComponent {
|
|||
const { title, label } = this.props;
|
||||
return (
|
||||
<Link
|
||||
button="alt"
|
||||
button="primary"
|
||||
icon={icons.DOWNLOAD}
|
||||
title={title || __('Export')}
|
||||
label={label || __('Export')}
|
||||
|
|
|
@ -44,7 +44,12 @@ class TransactionList extends React.PureComponent {
|
|||
|
||||
return (
|
||||
<div>
|
||||
{Boolean(transactionList.length) && <FileExporter data={transactions} title={__("Export Transactions")} />}
|
||||
{Boolean(transactionList.length) && (
|
||||
<FileExporter
|
||||
data={transactions}
|
||||
title={__("Export Transactions")}
|
||||
label={__("Export")} />
|
||||
)}
|
||||
{(transactionList.length || this.state.filter) && (
|
||||
<span className="sort-section">
|
||||
{__('Filter')}{' '}
|
||||
|
|
Loading…
Reference in a new issue