7
7
<unicon name =" location-arrow" :fill =" colors.secondary" />
8
8
<h6 class =" ml-2 text-truncate" ><a :href =" explorer+ 'transactions/' + transaction[0]" target =" _blank" > {{ transaction[0] }}</a ></h6 >
9
9
</b-col >
10
- <b-col cols =" 1" >
10
+ <b-col cols =" 1" style = " padding-left : 0 px " >
11
11
<b-badge :class =" [ 'badge-'+transaction[1]]" :style =" { fontSize: '12px' }" >
12
12
{{transaction[1]}}
13
13
</b-badge >
14
14
</b-col >
15
- <b-col cols =" 2" ><a :href =" explorer+ 'account/' + transaction[6]" target =" _blank" :title =" wallets_dict[transaction[6]]? wallets_dict[transaction[6]] : transaction[6]" ><h6 class =" ml-3 text-truncate" >{{wallets_dict[transaction[6]]? wallets_dict[transaction[6]] : transaction[6] }}</h6 ></a ></b-col >
16
- <b-col cols =" 2" v-if =" transaction[1]=='delegate'" ><a :href =" explorer+ 'validator/' + transaction[2]" target =" _blank" ><h6 class =" text-truncate" >{{validators_dict[transaction[2]]? validators_dict[transaction[2]] : transaction[2] }}</h6 ></a ></b-col >
17
- <b-col cols =" 2" v-else class =" text" ><a :href =" explorer+ 'account/' + transaction[2]" target =" _blank" :title =" wallets_dict[transaction[2]]? wallets_dict[transaction[2]] : transaction[2]" ><h6 class =" text-truncate" >{{wallets_dict[transaction[2]]? wallets_dict[transaction[2]] : transaction[2] }}</h6 ></a ></b-col >
15
+ <b-col cols =" 2" v-if =" transaction[1]=='undelegate' || transaction[1]=='redelegate'" >
16
+ <a :href =" explorer+ 'validator/' + transaction[6]" target =" _blank" >
17
+ <h6 class =" ml-3 text-truncate" :title =" transaction[6]" >{{validators_dict[transaction[6]] ? validators_dict[transaction[6]].moniker : transaction[6] }}</h6 >
18
+ </a >
19
+ </b-col >
20
+ <b-col cols =" 2" v-else >
21
+ <a :href =" explorer+ 'account/' + transaction[6]" target =" _blank" :title =" wallets_dict[transaction[6]]? wallets_dict[transaction[6]] : transaction[6]" >
22
+ <h6 class =" ml-3 text-truncate" :title =" transaction[6]" >{{wallets_dict[transaction[6]]? wallets_dict[transaction[6]] : transaction[6] }}</h6 >
23
+ </a >
24
+ </b-col >
25
+ <b-col cols =" 2" v-if =" transaction[1]=='delegate' || transaction[1]=='undelegate' || transaction[1]=='redelegate'" >
26
+ <a :href =" explorer+ 'validator/' + transaction[2]" target =" _blank" >
27
+ <h6 class =" text-truncate" :title =" transaction[2]" >{{validators_dict[transaction[2]] ? validators_dict[transaction[2]].moniker : transaction[2] }}</h6 >
28
+ </a >
29
+ </b-col >
30
+ <b-col cols =" 2" v-else class =" text" >
31
+ <a :href =" explorer+ 'account/' + transaction[2]" target =" _blank" :title =" wallets_dict[transaction[2]]? wallets_dict[transaction[2]] : transaction[2]" >
32
+ <h6 class =" text-truncate" :title =" transaction[2]" >{{wallets_dict[transaction[2]]? wallets_dict[transaction[2]] : transaction[2] }}</h6 >
33
+ </a >
34
+ </b-col >
18
35
<b-col cols =" 3" >
19
36
<span >
20
37
{{ globalData.kichain.token }} {{transaction[3]}}
21
38
</span >
22
39
</b-col >
23
40
<b-col cols =" 2" ><span >{{ globalData.kichain.token }} {{transaction[4]}}</span ></b-col >
24
-
25
- <!-- <b-col cols="4" class="d-flex justify-content-end"> -->
26
- <!-- <slot /> -->
27
- <!-- </b-col> -->
28
41
</b-row >
29
42
</b-col >
30
43
</b-row >
31
44
</template >
32
45
33
46
<script >
34
- import { BRow , BCol , BButton , BBadge } from ' bootstrap-vue' ;
47
+ import { BRow , BCol , BButton , BBadge , } from ' bootstrap-vue' ;
35
48
import * as numeral from ' numeral' ;
36
49
import { mapState } from ' vuex' ;
37
50
import { tokenUtil } from ' @static/js/token' ;
@@ -46,7 +59,8 @@ export default {
46
59
components: {
47
60
BRow,
48
61
BCol,
49
- BBadge
62
+ BBadge,
63
+ // BPopover
50
64
},
51
65
props: {
52
66
transaction: {
@@ -59,7 +73,7 @@ export default {
59
73
... mapState ({
60
74
currentWallet : state => state .wallets .current ,
61
75
wallets_dict : state => state .wallets .dict ,
62
- validators_dict : state => state .wallets . current . validators_dict ,
76
+ validators_dict : state => state .validators . dict ,
63
77
}),
64
78
},
65
79
methods: {
0 commit comments