mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
fix: feature - live on mainnet
This commit is contained in:
parent
fedcb061d9
commit
1c767a59b5
1 changed files with 1 additions and 2 deletions
|
@ -72,7 +72,6 @@ export const useData = defineStore('data', () => {
|
|||
percentage: Math.min(Math.max(Math.round(averagePercentage), 0), 100),
|
||||
}
|
||||
}).filter(p => p.name)
|
||||
|
||||
const projectCategories = projects.value.map(p => p.categories).flat()
|
||||
categories.value = data.categories.filter(c => projectCategories.includes(c.id))
|
||||
usecases.value = data.usecases
|
||||
|
@ -178,7 +177,7 @@ export const useData = defineStore('data', () => {
|
|||
case 'opensource':
|
||||
return project.blockchain_features?.opensource
|
||||
case 'live-on-mainnet':
|
||||
return project.project_phase === 'mainnet'
|
||||
return project.project_status?.mainnet || project.project_status?.version?.toLowerCase() === 'mainnet'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue