Skip to content

Commit

Permalink
Merge branch 'peng/289-improve-page-delegates' of github.com:cosmos/c…
Browse files Browse the repository at this point in the history
…osmos-ui into peng/289-improve-page-delegates
  • Loading branch information
nylira committed Jan 16, 2018
2 parents d5d0de1 + a2d6a6d commit fc9685f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/renderer/components/wallet/PageTransactions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ page(title='Transactions')
li-transaction(
v-else
v-for="i in filteredTransactions"
:key="i.time"
:key="shortid.generate()"
:transaction-value="i"
:address="wallet.key.address"
:devMode="config.devMode")
</template>

<script>
import shortid from 'shortid'
import { mapGetters } from 'vuex'
import { includes, orderBy } from 'lodash'
import Mousetrap from 'mousetrap'
Expand Down Expand Up @@ -56,6 +57,7 @@ export default {
}
},
data: () => ({
shortid: shortid,
sort: {
property: 'time',
order: 'desc'
Expand All @@ -67,6 +69,7 @@ export default {
}
},
mounted () {
console.log(JSON.stringify(this.filteredTransactions))
Mousetrap.bind(['command+f', 'ctrl+f'], () => this.setSearch(true))
Mousetrap.bind('esc', () => this.setSearch(false))
}
Expand Down

0 comments on commit fc9685f

Please sign in to comment.