Merge branch 'master' of https://github.com/ping-pub/explorer
This commit is contained in:
commit
5d1b1672c7
@ -26,7 +26,7 @@ const chains = computed(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const featured = 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
|
return chains.value
|
||||||
.filter(x => names.includes(x.chainName))
|
.filter(x => names.includes(x.chainName))
|
||||||
.sort((a, b)=> (names.indexOf(a.chainName) - names.indexOf(b.chainName)))
|
.sort((a, b)=> (names.indexOf(a.chainName) - names.indexOf(b.chainName)))
|
||||||
|
@ -41,7 +41,7 @@ export const useGovStore = defineStore('govStore', {
|
|||||||
//filter spam proposals
|
//filter spam proposals
|
||||||
if(proposals?.proposals) {
|
if(proposals?.proposals) {
|
||||||
proposals.proposals = proposals.proposals.filter((item) => {
|
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
|
return title.toLowerCase().indexOf("airdrop")===-1
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user