fix: showing the current value of the coin
This commit is contained in:
parent
733d06c8d4
commit
20b9e62aa1
@ -215,12 +215,12 @@ export function View({
|
||||
<Button
|
||||
variant="contained"
|
||||
onClick={() => {
|
||||
return api.background.call("freeze", 5000).then(() => {
|
||||
return api.background.call("freeze", 4000).then(() => {
|
||||
console.log("WAIT");
|
||||
});
|
||||
}}
|
||||
>
|
||||
<i18n.Translate>freeze 5000</i18n.Translate>
|
||||
<i18n.Translate>freeze 4000</i18n.Translate>
|
||||
</Button>
|
||||
</Grid>
|
||||
<Grid item>
|
||||
@ -454,9 +454,6 @@ function ShowAllCoins({
|
||||
<td>
|
||||
<i18n.Translate>denom</i18n.Translate>
|
||||
</td>
|
||||
<td>
|
||||
<i18n.Translate>value</i18n.Translate>
|
||||
</td>
|
||||
<td>
|
||||
<i18n.Translate>status</i18n.Translate>
|
||||
</td>
|
||||
@ -471,7 +468,13 @@ function ShowAllCoins({
|
||||
return (
|
||||
<tr key={idx}>
|
||||
<td>{c.id.substring(0, 5)}</td>
|
||||
<td>{c.denom_value}</td>
|
||||
<td>
|
||||
{Amounts.stringifyValue({
|
||||
value: c.denom_value,
|
||||
fraction: c.denom_fraction,
|
||||
currency: "ANY",
|
||||
})}
|
||||
</td>
|
||||
<td>{c.status}</td>
|
||||
<td>{c.from_refresh ? "true" : "false"}</td>
|
||||
<td>{String(c.ageKeysCount)}</td>
|
||||
@ -496,9 +499,6 @@ function ShowAllCoins({
|
||||
<td>
|
||||
<i18n.Translate>denom</i18n.Translate>
|
||||
</td>
|
||||
<td>
|
||||
<i18n.Translate>value</i18n.Translate>
|
||||
</td>
|
||||
<td>
|
||||
<i18n.Translate>status</i18n.Translate>
|
||||
</td>
|
||||
|
Loading…
Reference in New Issue
Block a user