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",
|
||||
"coingecko": "genesisL1",
|
||||
"coingecko": "",
|
||||
"api": "https://api.genesisl1.org",
|
||||
"sdk_version": "0.42.4",
|
||||
"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 = []
|
||||
Object.keys(sum).forEach(k => {
|
||||
output.push(`${k}×${sum[k]}`)
|
||||
output.push(sum[k] > 1 ? `${k}×${sum[k]}` : k)
|
||||
})
|
||||
return output.join(', ')
|
||||
}
|
||||
|
@ -133,7 +133,7 @@
|
||||
>
|
||||
<template #button-content>
|
||||
<feather-icon
|
||||
icon="MoreVerticalIcon"
|
||||
icon="AlignJustifyIcon"
|
||||
size="18"
|
||||
class="cursor-pointer"
|
||||
/>
|
||||
@ -186,7 +186,13 @@
|
||||
<app-collapse>
|
||||
<app-collapse-item title="Assets">
|
||||
<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>
|
||||
<div
|
||||
v-for="b,i in balances[acc.addr]"
|
||||
@ -228,6 +234,16 @@
|
||||
>{{ formatChanges(b.denom) }}</small>
|
||||
</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>
|
||||
</b-col>
|
||||
|
Loading…
Reference in New Issue
Block a user