From 6c1eb42d3638767bbb73f84be74918ed27cc223c Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Wed, 20 Sep 2017 14:21:01 -0500 Subject: [PATCH] fix(header): redesign activity header --- app/routes/activity/components/Activity.js | 15 ++-------- app/routes/activity/components/Activity.scss | 30 ++++++------------- .../components/components/Invoice/Invoice.js | 7 +---- 3 files changed, 12 insertions(+), 40 deletions(-) diff --git a/app/routes/activity/components/Activity.js b/app/routes/activity/components/Activity.js index 37a061b6..3ff58af9 100644 --- a/app/routes/activity/components/Activity.js +++ b/app/routes/activity/components/Activity.js @@ -71,7 +71,7 @@ class Activity extends Component { value={tab === 1 ? '' : invoicesSearchText} onChange={event => (tab === 1 ? null : searchInvoices(event.target.value))} className={`${styles.text} ${styles.input}`} - placeholder={tab === 1 ? 'Search transactions by amount, public key, channel' : 'Search requests by memo'} + placeholder={tab === 1 ? 'Search by amount, hash, memo, etc' : 'Search requests by memo'} type='text' id='invoiceSearch' /> @@ -79,18 +79,7 @@ class Activity extends Component {
- this.setState({ tab: 1 })} - > - Payments - - this.setState({ tab: 2 })} - > - Requests - +

Activity

- { - invoice.settled ? - invoice.settle_date * 1000 - : - invoice.creation_date * 1000 - } + {invoice.creation_date * 1000}