Various pre-launch fixes.
This commit is contained in:
parent
246f2023bc
commit
1c3273cee2
9 changed files with 29 additions and 39 deletions
|
|
@ -29,7 +29,7 @@
|
|||
<NuxtLink to="/member/profile" class="member-link">
|
||||
<img
|
||||
v-if="memberData.avatar"
|
||||
:src="`/ghosties/Ghost-${capitalize(memberData.avatar)}.png`"
|
||||
:src="ghostieImagePath(memberData.avatar)"
|
||||
:alt="memberData.name"
|
||||
class="member-avatar"
|
||||
>
|
||||
|
|
@ -86,11 +86,6 @@ const handleLogout = async () => {
|
|||
navigateTo("/");
|
||||
};
|
||||
|
||||
const capitalize = (str) => {
|
||||
if (!str) return "";
|
||||
return str.charAt(0).toUpperCase() + str.slice(1);
|
||||
};
|
||||
|
||||
const breadcrumbs = computed(() => {
|
||||
if (!props.pagePath) return [];
|
||||
const segments = props.pagePath.split(" / ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue