filter community pool

This commit is contained in:
liangping 2023-05-04 07:30:12 +08:00
parent 2f240f34bf
commit 8876a12aef

View File

@ -168,7 +168,7 @@ export const useIndexModule = defineStore('module-index', {
title: 'Community Pool', title: 'Community Pool',
color: 'primary', color: 'primary',
icon: 'mdi-bank', icon: 'mdi-bank',
stats: formatter.formatTokens(this.communityPool), stats: formatter.formatTokens(this.communityPool?.filter(x => x.denom === staking.params.bond_denom)),
change: 0, change: 0,
}, },
] ]