diff --git a/components/Project/ProjectPrivacy.vue b/components/Project/ProjectPrivacy.vue index ed534f9..e9b4f12 100644 --- a/components/Project/ProjectPrivacy.vue +++ b/components/Project/ProjectPrivacy.vue @@ -71,7 +71,7 @@ defineProps<{ bold 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' }} -
+

{ 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' } }