From 8876a12aef7a7f124cadecb6d8193aed74e988a2 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Thu, 4 May 2023 07:30:12 +0800 Subject: [PATCH] filter community pool --- src/modules/[chain]/indexStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/[chain]/indexStore.ts b/src/modules/[chain]/indexStore.ts index 9a9357ec..05a1165c 100644 --- a/src/modules/[chain]/indexStore.ts +++ b/src/modules/[chain]/indexStore.ts @@ -168,7 +168,7 @@ export const useIndexModule = defineStore('module-index', { title: 'Community Pool', color: 'primary', icon: 'mdi-bank', - stats: formatter.formatTokens(this.communityPool), + stats: formatter.formatTokens(this.communityPool?.filter(x => x.denom === staking.params.bond_denom)), change: 0, }, ]