Remove fake transactions and balances from tx-list and wallet-view, respectively

feature/default_network_editable
sdtsui 7 years ago
parent 5893f2fd19
commit 9dce1b6fd5
  1. 38
      ui/app/components/tx-list.js
  2. 42
      ui/app/components/wallet-view.js

@ -52,44 +52,6 @@ TxList.prototype.render = function () {
this.renderTransactionListItem(), this.renderTransactionListItem(),
contentDivider,
this.renderTransactionListItem(),
contentDivider,
this.renderTransactionListItem(),
contentDivider,
this.renderTransactionListItem(),
contentDivider,
this.renderTransactionListItem(),
contentDivider,
this.renderTransactionListItem(),
contentDivider,
this.renderTransactionListItem(),
contentDivider,
this.renderTransactionListItem(),
contentDivider,
this.renderTransactionListItem(),
contentDivider,
this.renderTransactionListItem(),
contentDivider,
]) ])
} }

@ -43,15 +43,6 @@ WalletView.prototype.render = function () {
// temporary logs + fake extra wallets // temporary logs + fake extra wallets
console.log("walletview, selectedAccount:", selectedAccount) console.log("walletview, selectedAccount:", selectedAccount)
const extraWallet = h('div.flex-column.wallet-balance-wrapper', {}, [
h('div.wallet-balance', {}, [
h(BalanceComponent, {
balanceValue: selectedAccount.balance,
style: {},
}),
]),
])
return h('div.wallet-view.flex-column' + (responsiveDisplayClassname || ''), { return h('div.wallet-view.flex-column' + (responsiveDisplayClassname || ''), {
style: {}, style: {},
}, [ }, [
@ -148,28 +139,15 @@ WalletView.prototype.render = function () {
]), ]),
h('div.flex-column.wallet-balance-wrapper', {}, [
h('div.wallet-balance', {}, [
h(BalanceComponent, {
balanceValue: selectedAccount.balance,
style: {},
}),
]),
]),
extraWallet,
extraWallet,
extraWallet,
extraWallet,
extraWallet,
extraWallet,
extraWallet,
extraWallet,
extraWallet,
extraWallet,
]) ])
} }
// TODO: Extra wallets, for dev testing. Remove when PRing to master.
// const extraWallet = h('div.flex-column.wallet-balance-wrapper', {}, [
// h('div.wallet-balance', {}, [
// h(BalanceComponent, {
// balanceValue: selectedAccount.balance,
// style: {},
// }),
// ]),
// ])

Loading…
Cancel
Save