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() } { this.renderAddressList() }
</div> </div>
} }
<div className="col-sm-4 search-box"> { this.props.ActiveCoin.txhistory !== 'loading' &&
<input <div className="col-sm-4 search-box">
className="form-control" <input
onChange={ e => this.onSearchTermChange(e.target.value) } className="form-control"
placeholder="Search" /> onChange={ e => this.onSearchTermChange(e.target.value) }
</div> placeholder="Search" />
</div>
}
</div> </div>
<div className="row"> <div className="row">
{ this.renderTxHistoryList() } { this.renderTxHistoryList() }

Loading…
Cancel
Save