Skip to content

Commit

Permalink
Merge branch 'master' of github.com:baking-bad/bcd
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kus committed Dec 18, 2020
2 parents d359f78 + 187e34f commit f8e5b32
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/api/bcd.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export class BetterCallApi {
if (res.status != 200) {
throw new RequestFailedError(res);
}
return res.data;
return res.request.response;
})
}

Expand Down
1 change: 1 addition & 0 deletions src/views/contract/TransferList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ export default {
handler: function (){
this.downloaded = false;
this.items = [];
this.last_id = '';
this.getNextPage();
},
},
Expand Down
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 f8e5b32

Please sign in to comment.