mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
commit
9584c443d2
3 changed files with 3 additions and 4 deletions
|
@ -71,7 +71,7 @@ defineProps<{
|
||||||
bold
|
bold
|
||||||
title="Sign-in requirements"
|
title="Sign-in requirements"
|
||||||
>
|
>
|
||||||
{{ project.tracebility?.sign_in_type_requirments }}
|
{{ project.tracebility?.sign_in_type_requirments?.length ? project.tracebility?.sign_in_type_requirments : 'N/A' }}
|
||||||
</ProjectInfoItem>
|
</ProjectInfoItem>
|
||||||
<ProjectInfoItem
|
<ProjectInfoItem
|
||||||
:check-undefined="project.tracebility?.tracked_data"
|
:check-undefined="project.tracebility?.tracked_data"
|
||||||
|
|
|
@ -17,7 +17,7 @@ defineProps<{
|
||||||
/>
|
/>
|
||||||
</ProjectDetailCategoryDivider>
|
</ProjectDetailCategoryDivider>
|
||||||
<ProjectDetailContainer>
|
<ProjectDetailContainer>
|
||||||
<div v-if="project.audits">
|
<div v-if="project.audits?.length">
|
||||||
<h2
|
<h2
|
||||||
text-18px
|
text-18px
|
||||||
text-app-text-grey
|
text-app-text-grey
|
||||||
|
|
|
@ -72,7 +72,6 @@ export const useData = defineStore('data', () => {
|
||||||
percentage: Math.min(Math.max(Math.round(averagePercentage), 0), 100),
|
percentage: Math.min(Math.max(Math.round(averagePercentage), 0), 100),
|
||||||
}
|
}
|
||||||
}).filter(p => p.name)
|
}).filter(p => p.name)
|
||||||
|
|
||||||
const projectCategories = projects.value.map(p => p.categories).flat()
|
const projectCategories = projects.value.map(p => p.categories).flat()
|
||||||
categories.value = data.categories.filter(c => projectCategories.includes(c.id))
|
categories.value = data.categories.filter(c => projectCategories.includes(c.id))
|
||||||
usecases.value = data.usecases
|
usecases.value = data.usecases
|
||||||
|
@ -178,7 +177,7 @@ export const useData = defineStore('data', () => {
|
||||||
case 'opensource':
|
case 'opensource':
|
||||||
return project.blockchain_features?.opensource
|
return project.blockchain_features?.opensource
|
||||||
case 'live-on-mainnet':
|
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