update component

This commit is contained in:
btzr-io 2018-02-23 19:12:51 -07:00
parent 45209c5a91
commit 006c2f01fa
2 changed files with 7 additions and 2 deletions

View file

@ -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')}

View file

@ -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')}{' '}