Browse Source

hide tx history search bar if no transactions

all-modes
pbca26 8 years ago
parent
commit
0092ac5087
  1. 14
      react/src/components/dashboard/walletsData/walletsData.render.js

14
react/src/components/dashboard/walletsData/walletsData.render.js

@ -268,12 +268,14 @@ export const WalletsDataRender = function() {
{ this.renderAddressList() }
</div>
}
<div className="col-sm-4 search-box">
<input
className="form-control"
onChange={ e => this.onSearchTermChange(e.target.value) }
placeholder="Search" />
</div>
{ this.props.ActiveCoin.txhistory !== 'loading' &&
<div className="col-sm-4 search-box">
<input
className="form-control"
onChange={ e => this.onSearchTermChange(e.target.value) }
placeholder="Search" />
</div>
}
</div>
<div className="row">
{ this.renderTxHistoryList() }

Loading…
Cancel
Save