File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 66 import {pretty , prettyPrecise , prettyRound } from ' ~/assets/utils' ;
77 import {TAB_TYPES , VALIDATOR_STATUS } from ' ~/assets/variables.js' ;
88 import Amount from ' @/components/common/Amount.vue' ;
9+ import ButtonCopyIcon from ' ~/components/common/ButtonCopyIcon' ;
910 import TransactionListTable from ' ~/components/TransactionListTable' ;
1011 import StakeListTable from ' ~/components/StakeListTable' ;
1112 import PenaltyListTable from ' ~/components/PenaltyListTable.vue' ;
2728 VALIDATOR_STATUS ,
2829 components: {
2930 Amount,
31+ ButtonCopyIcon,
3032 StakeListTable,
3133 PenaltyListTable,
3234 TransactionListTable,
245247 </div >
246248 <dl >
247249 <dt >Public Key</dt >
248- <dd class =" dd u-select-all" >{{ $route.params.pubKey }}</dd >
250+ <dd >
251+ <span class =" u-select-all" >{{ $route.params.pubKey }}</span >
252+ <ButtonCopyIcon :copy-text =" $route.params.pubKey" />
253+ </dd >
249254
250255 <dt v-if =" validator.name" >Name</dt >
251256 <dd v-if =" validator.name" >
You can’t perform that action at this time.
0 commit comments