Rename communityEcology → board across frontend, add Board nav, update redirects
- Add Board to exploreItems in AppNavigation - Update ecology.vue + connections.vue redirects to /board - Rename all communityEcology refs to board in member profiles, dashboard, admin, onboarding - Update API path /api/members/me/community-ecology → /api/members/me/board
This commit is contained in:
parent
3e5cedb1a6
commit
cdef868256
9 changed files with 75 additions and 76 deletions
|
|
@ -351,13 +351,13 @@ function statusClass(status) {
|
|||
const hasProfileTags = computed(() => {
|
||||
const m = member.value
|
||||
if (!m) return false
|
||||
return m.craftTags?.length > 0 && m.communityEcology?.topics?.length > 0
|
||||
return m.craftTags?.length > 0 && m.board?.topics?.length > 0
|
||||
})
|
||||
|
||||
const hasEcologyEngaged = computed(() => {
|
||||
const m = member.value
|
||||
if (!m) return false
|
||||
return m.onboarding?.ecologyPageVisited && m.communityEcology?.topics?.some(
|
||||
return m.onboarding?.boardPageVisited && m.board?.topics?.some(
|
||||
t => ['help', 'interested', 'seeking'].includes(t.state)
|
||||
)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue