mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
fix: project detail - project phase v2
This commit is contained in:
parent
96687973bd
commit
3a582049ec
1 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,8 @@ import type { Project } from '~/types'
|
|||
defineProps<{
|
||||
project: Project
|
||||
}>()
|
||||
|
||||
const { projectPhase } = storeToRefs(useData())
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -65,7 +67,7 @@ defineProps<{
|
|||
:class="project.project_phase ? 'text-white' : 'text-app-text-grey'"
|
||||
leading="20px lg:24px"
|
||||
>
|
||||
{{ project.project_phase || 'N/A' }}
|
||||
{{ projectPhase.find(p => p.id === project.project_phase)?.name || 'N/A' }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue