Skip to content

Commit

Permalink
Show supply instead of transfered
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanSerikov authored and m-kus committed Dec 17, 2020
1 parent ec7340c commit 2e8a638
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/views/dapps/TokenBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
<v-col cols="12" v-if="dapp.tokens">
<v-skeleton-loader :loading="loading" type="table">
<v-data-table :headers="headers" :items="tokens" class="transparent">
<template
v-slot:item.supply="{ item }"
>{{ helpers.round(item.supply, item.decimals) }} {{item.symbol}}</template>
<template
v-slot:item.transfered="{ item }"
>{{ helpers.round(item.transfered, item.decimals) }} {{item.symbol}}</template>
<template v-slot:item.supply="{ item }"
>{{ helpers.round(item.supply, item.decimals) }}
{{ item.symbol }}</template
>
<template v-slot:item.transfered="{ item }"
>{{ helpers.round(item.transfered, item.decimals) }}
{{ item.symbol }}</template
>
</v-data-table>
</v-skeleton-loader>
</v-col>
Expand Down Expand Up @@ -52,14 +54,14 @@ export default {
text: "Contract",
value: "contract",
},
// {
// text: "Supply",
// value: "supply",
// },
{
text: "Transfered",
value: "transfered",
text: "Supply",
value: "supply",
},
// {
// text: "Transfered",
// value: "transfered",
// },
{
text: "Decimals",
value: "decimals",
Expand All @@ -79,4 +81,4 @@ export default {
...mapActions(["showError"]),
},
};
</script>
</script>

0 comments on commit 2e8a638

Please sign in to comment.