This commit is contained in:
liangping 2023-12-25 09:08:20 +08:00
commit 5d1b1672c7
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ const chains = computed(() => {
});
const featured = computed(() => {
const names = ["cosmos", "osmosis", "akash", "celestia", "evmos", "injective", "dydx", "irisnet"];
const names = ["cosmos", "osmosis", "akash", "celestia", "evmos", "injective", "dydx", "noble"];
return chains.value
.filter(x => names.includes(x.chainName))
.sort((a, b)=> (names.indexOf(a.chainName) - names.indexOf(b.chainName)))

View File

@ -41,7 +41,7 @@ export const useGovStore = defineStore('govStore', {
//filter spam proposals
if(proposals?.proposals) {
proposals.proposals = proposals.proposals.filter((item) => {
const title = item.content.title || item.title || ""
const title = item.content?.title || item.title || ""
return title.toLowerCase().indexOf("airdrop")===-1
});
}