finish button links

This commit is contained in:
Anthony 2021-08-23 19:52:56 +02:00
parent a515088e0b
commit a14963892f
No known key found for this signature in database
GPG key ID: C386D3C93D50E356
5 changed files with 15 additions and 11 deletions

View file

@ -291,7 +291,7 @@ function TxoList(props: Props) {
return ( return (
<Card <Card
title={ title={
<><div className="table__header-text">{__(`Transactions`)}</div> <><div className="table__header-text txo__table_header">{__(`Transactions`)}</div>
<div className="txo__radios_container"> <div className="txo__radios_container">
<fieldset-section style={{display: 'inline'}} className="txo__radios_fieldset"> <fieldset-section style={{display: 'inline'}} className="txo__radios_fieldset">
{/* toggle between LBC and fiat buttons */} {/* toggle between LBC and fiat buttons */}

View file

@ -62,7 +62,8 @@ const WalletBalance = () => {
</h2> </h2>
<div className="section__actions"> <div className="section__actions">
<Button button="secondary" label={__('Account Configuration')} icon={ICONS.SETTINGS} navigate={`/$/${PAGES.SETTINGS_STRIPE_ACCOUNT}`} /> <Button button="secondary" label={__('Bank Accounts')} icon={ICONS.SETTINGS} navigate={`/$/${PAGES.SETTINGS_STRIPE_ACCOUNT}`} />
<Button button="secondary" label={__('Payment Methods')} icon={ICONS.SETTINGS} navigate={`/$/${PAGES.SETTINGS_STRIPE_CARD}`} />
</div> </div>
</> </>
} }

View file

@ -275,7 +275,8 @@ class StripeAccountConnection extends React.Component<Props, State> {
)} )}
</div> </div>
} }
actions={ // only show additional buttons if its for additional verification or to show transaction page
actions={(stillRequiringVerification || accountConfirmed) &&
<> <>
{stillRequiringVerification && ( {stillRequiringVerification && (
<Button <Button
@ -286,12 +287,14 @@ class StripeAccountConnection extends React.Component<Props, State> {
className="stripe__complete-verification-button" className="stripe__complete-verification-button"
/> />
)} )}
<Button {accountConfirmed && (
button="secondary" <Button
label={__('View Transactions')} button="secondary"
icon={ICONS.SETTINGS} label={__('View Transactions')}
navigate={`/$/${PAGES.WALLET}?tab=fiat-payment-history`} icon={ICONS.SETTINGS}
/> navigate={`/$/${PAGES.WALLET}?fiatType=incoming&tab=fiat-payment-history&currency=fiat`}
/>
)}
</> </>
} }
/> />

View file

@ -420,7 +420,7 @@ class SettingsStripeCard extends React.Component<Props, State> {
button="primary" button="primary"
label={__('View Transactions')} label={__('View Transactions')}
icon={ICONS.SETTINGS} icon={ICONS.SETTINGS}
navigate={`/$/${PAGES.WALLET}?tab=fiat-account-history`} navigate={`/$/${PAGES.WALLET}?fiatType=outgoing&tab=fiat-payment-history&currency=fiat`}
/> />
} }
/> />

View file

@ -11,7 +11,7 @@
} }
} }
.table__header-text { .txo__table_header {
width: 124px; width: 124px;
display: inline-block; display: inline-block;
} }