Skip to content

Commit

Permalink
TransactionList: Remove balance
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Sep 5, 2019
1 parent e450ebf commit 664a970
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/pages/mobile/TransactionList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
class="header"
>
<AccountInline :address="activeAccount.address" />
<Balance
:balance="activeAccount.balance"
invert
short
/>
</div>

<div class="tabs">
Expand Down Expand Up @@ -62,9 +57,9 @@
<script>
import { Subject } from 'rxjs';
import { groupBy } from 'lodash-es';
import { mapGetters } from 'vuex';
import MobilePage from '../../components/mobile/Page.vue';
import AccountInline from '../../components/AccountInline.vue';
import Balance from '../../components/Balance.vue';
import ButtonPlain from '../../components/ButtonPlain.vue';
import AeLoader from '../../components/AeLoader.vue';
import ListItemTransaction from '../../components/ListItemTransaction.vue';
Expand All @@ -73,7 +68,6 @@ export default {
components: {
MobilePage,
AccountInline,
Balance,
ButtonPlain,
AeLoader,
ListItemTransaction,
Expand All @@ -88,7 +82,6 @@ export default {
subscriptions() {
this.loadMore$ = new Subject();
return {
activeAccount: this.$store.state.observables.activeAccount,
transactions: this.$store.state.observables.getTransactionList(this.loadMore$),
};
},
Expand All @@ -111,6 +104,7 @@ export default {
},
);
},
...mapGetters({ activeAccount: 'accounts/active' }),
},
mounted() {
const checkLoadMore = () => {
Expand All @@ -135,12 +129,6 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
.balance {
@media (max-width: 410px) {
display: none;
}
}
}
.tabs, .date {
Expand Down

0 comments on commit 664a970

Please sign in to comment.