improve UX
This commit is contained in:
parent
8cf7375ce1
commit
97083b40df
BIN
public/logos/genesisl1.png
Normal file
BIN
public/logos/genesisl1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"chain_name": "genesisL1",
|
"chain_name": "genesisL1",
|
||||||
"coingecko": "genesisL1",
|
"coingecko": "",
|
||||||
"api": "https://api.genesisl1.org",
|
"api": "https://api.genesisl1.org",
|
||||||
"sdk_version": "0.42.4",
|
"sdk_version": "0.42.4",
|
||||||
"addr_prefix": "genesis",
|
"addr_prefix": "genesis",
|
||||||
"logo": "https://raw.githubusercontent.com/alpha-omega-labs/bashscripts/main/genesisl1.png"
|
"logo": "/logos/genesisl1.png"
|
||||||
}
|
}
|
@ -241,7 +241,7 @@ export function abbrMessage(msg) {
|
|||||||
}, {})
|
}, {})
|
||||||
const output = []
|
const output = []
|
||||||
Object.keys(sum).forEach(k => {
|
Object.keys(sum).forEach(k => {
|
||||||
output.push(`${k}×${sum[k]}`)
|
output.push(sum[k] > 1 ? `${k}×${sum[k]}` : k)
|
||||||
})
|
})
|
||||||
return output.join(', ')
|
return output.join(', ')
|
||||||
}
|
}
|
||||||
|
@ -133,7 +133,7 @@
|
|||||||
>
|
>
|
||||||
<template #button-content>
|
<template #button-content>
|
||||||
<feather-icon
|
<feather-icon
|
||||||
icon="MoreVerticalIcon"
|
icon="AlignJustifyIcon"
|
||||||
size="18"
|
size="18"
|
||||||
class="cursor-pointer"
|
class="cursor-pointer"
|
||||||
/>
|
/>
|
||||||
@ -186,7 +186,13 @@
|
|||||||
<app-collapse>
|
<app-collapse>
|
||||||
<app-collapse-item title="Assets">
|
<app-collapse-item title="Assets">
|
||||||
<template #header>
|
<template #header>
|
||||||
<small class="text-muted">{{ formatAddr(acc.addr) }}</small>
|
<div>
|
||||||
|
<feather-icon
|
||||||
|
icon="CopyIcon"
|
||||||
|
@click="copy(acc.addr)"
|
||||||
|
/>
|
||||||
|
<small class="text-muted">{{ formatAddr(acc.addr) }}</small>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div
|
<div
|
||||||
v-for="b,i in balances[acc.addr]"
|
v-for="b,i in balances[acc.addr]"
|
||||||
@ -228,6 +234,16 @@
|
|||||||
>{{ formatChanges(b.denom) }}</small>
|
>{{ formatChanges(b.denom) }}</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<b-button
|
||||||
|
v-if="balances[acc.addr]"
|
||||||
|
block
|
||||||
|
size="sm"
|
||||||
|
variant="outline-primary"
|
||||||
|
:to="`/${acc.chain}/account/${acc.addr}`"
|
||||||
|
class="mt-1 mb-0"
|
||||||
|
>
|
||||||
|
<feather-icon icon="TrelloIcon" /> Detail
|
||||||
|
</b-button>
|
||||||
</app-collapse-item>
|
</app-collapse-item>
|
||||||
</app-collapse>
|
</app-collapse>
|
||||||
</b-col>
|
</b-col>
|
||||||
|
Loading…
Reference in New Issue
Block a user