Various pre-launch fixes.
Some checks failed
Test / vitest (push) Successful in 14m0s
Test / playwright (push) Failing after 20m2s
Test / Notify on failure (push) Successful in 3s

This commit is contained in:
Jennie Robinson Faber 2026-05-22 18:53:07 +01:00
parent 246f2023bc
commit 1c3273cee2
9 changed files with 29 additions and 39 deletions

View file

@ -89,7 +89,7 @@
<div class="mc-avatar">
<img
v-if="member.avatar"
:src="`/ghosties/Ghost-${capitalize(member.avatar)}.png`"
:src="ghostieImagePath(member.avatar)"
:alt="member.name"
class="mc-avatar-img"
>
@ -185,14 +185,6 @@ const getInitials = (name) => {
.slice(0, 2)
}
const capitalize = (str) => {
if (!str) return ''
return str
.split('-')
.map((w) => w.charAt(0).toUpperCase() + w.slice(1).toLowerCase())
.join('-')
}
// ---- Computed ----
const visibleTagOptions = computed(() =>
showAllTags.value ? craftTagOptions.value : craftTagOptions.value.slice(0, 10)