From ea65eabc6b4042e5b5e2cd3c4dbeba7311ada495 Mon Sep 17 00:00:00 2001 From: DomWane Date: Thu, 10 Oct 2024 13:37:09 +0200 Subject: [PATCH 1/3] fix: project detail - sign in reqs --- components/Project/ProjectPrivacy.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }} Date: Thu, 10 Oct 2024 13:37:21 +0200 Subject: [PATCH 2/3] fix: project detail - audits --- components/Project/ProjectSecurity.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Project/ProjectSecurity.vue b/components/Project/ProjectSecurity.vue index e88fda0..3b45194 100644 --- a/components/Project/ProjectSecurity.vue +++ b/components/Project/ProjectSecurity.vue @@ -17,7 +17,7 @@ defineProps<{ /> -
+

Date: Thu, 10 Oct 2024 13:38:04 +0200 Subject: [PATCH 3/3] fix: feature - live on mainnet --- composables/useData.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/composables/useData.ts b/composables/useData.ts index ad44585..d126eae 100644 --- a/composables/useData.ts +++ b/composables/useData.ts @@ -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' } }