Skip to content

Commit

Permalink
fix: formatting for QoS data on Subgraphs Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenttaglia committed Oct 13, 2024
1 parent 0d92310 commit d931c91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/SubgraphsDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@
<template v-slot:item.deployment.queryFeesAmount="{ item }">
{{ numeral(web3.utils.fromWei(item.deployment.queryFeesAmount.toString())).format('0,0') }} GRT
</template>
<template v-slot:item.query_count="{ item }">
{{ numeral(item.query_count).format('0,0') }}
<template v-slot:item.qos.query_count="{ item }">
{{ item.qos?.query_count ? numeral(item.qos.query_count).format('0,0') : '-' }}
</template>
<template v-slot:item.total_query_fees="{ item }">
{{ numeral(item.total_query_fees).format('0,0') }} GRT
<template v-slot:item.qos.total_query_fees="{ item }">
{{ item.qos?.total_query_fees ? numeral(item.qos.total_query_fees).format('0,0') : '-' }} GRT
</template>
<template v-slot:item.deployment.stakedTokens="{ item }">
{{ numeral(web3.utils.fromWei(item.deployment.stakedTokens.toString())).format('0,0') }} GRT
Expand Down

0 comments on commit d931c91

Please sign in to comment.