Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
bokkypoobah committed Dec 17, 2023
1 parent 93b2f40 commit 1463bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ <h4>Welcome</h4>
</font>
</template>
<template #cell(type)="data">
<b-badge pill variant="transparent" class="px-0">{{ accounts[data.item.contract].type }}</b-badge>
<b-badge pill variant="transparent" class="px-0">{{ accounts[data.item.contract] && ('type' in accounts[data.item.contract]) && accounts[data.item.contract].type || "(unknown)" }}</b-badge>
</template>
<template #cell(contract)="data">
<font size="-1">
Expand Down Expand Up @@ -994,7 +994,7 @@ <h4>Welcome</h4>
try {
accounts[account].decimals = await erc20Contract.decimals();
} catch (e1) {
accounts[account].decimals = 18;
accounts[account].decimals = 0;
}
// accounts[account] = { type: "erc20", symbol, name };
} else if ((mask & MASK_ISERC721) == MASK_ISERC721) {
Expand Down

0 comments on commit 1463bbe

Please sign in to comment.