Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Configure/Configure.js
Show First 20 Lines • Show All 527 Lines • ▼ Show 20 Lines | return ( | ||||
</> | </> | ||||
)} | )} | ||||
{savedWallets && savedWallets.length > 0 && ( | {savedWallets && savedWallets.length > 0 && ( | ||||
<> | <> | ||||
<StyledCollapse> | <StyledCollapse> | ||||
<Panel header="Saved wallets" key="2"> | <Panel header="Saved wallets" key="2"> | ||||
<AWRow> | <AWRow> | ||||
<h3>{wallet.name}</h3> | <h3>{wallet.name}</h3> | ||||
{wallet.state ? ( | |||||
<h3> | |||||
Balance:{' '} | |||||
{wallet.state.balances.totalBalance} | |||||
</h3> | |||||
) : null} | |||||
<h4>Currently active</h4> | <h4>Currently active</h4> | ||||
</AWRow> | </AWRow> | ||||
<div> | <div> | ||||
{savedWallets.map(sw => ( | {savedWallets.map(sw => ( | ||||
<SWRow key={sw.name}> | <SWRow key={sw.name}> | ||||
<SWName> | <SWName> | ||||
<h3>{sw.name}</h3> | <h3>{sw.name}</h3> | ||||
</SWName> | </SWName> | ||||
{sw.state ? ( | |||||
<SWName> | |||||
Balance:{' '} | |||||
{sw.state.balances.totalBalance} | |||||
</SWName> | |||||
) : null} | |||||
<SWButtonCtn> | <SWButtonCtn> | ||||
<Edit | <Edit | ||||
onClick={() => | onClick={() => | ||||
showPopulatedRenameWalletModal( | showPopulatedRenameWalletModal( | ||||
sw, | sw, | ||||
) | ) | ||||
} | } | ||||
/> | /> | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |