🐛 Fix pfp page
This commit is contained in:
@@ -112,7 +112,10 @@
|
|||||||
</n-text>
|
</n-text>
|
||||||
<n-text>Stellar Program Member</n-text>
|
<n-text>Stellar Program Member</n-text>
|
||||||
</div>
|
</div>
|
||||||
<n-icon :size="48" :color="perkSubscriptionNames[user.perk_subscription.identifier].color">
|
<n-icon
|
||||||
|
:size="48"
|
||||||
|
:color="perkSubscriptionNames[user.perk_subscription.identifier].color"
|
||||||
|
>
|
||||||
<star-round />
|
<star-round />
|
||||||
</n-icon>
|
</n-icon>
|
||||||
</div>
|
</div>
|
||||||
@@ -183,7 +186,7 @@ async function fetchUser() {
|
|||||||
|
|
||||||
console.log('[Fetch] Using the API to load user data.')
|
console.log('[Fetch] Using the API to load user data.')
|
||||||
try {
|
try {
|
||||||
const resp = await fetch(`/api/accounts/${route.params.slug}`)
|
const resp = await fetch(`/api/accounts/${route.params.name}`)
|
||||||
user.value = await resp.json()
|
user.value = await resp.json()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
|
Reference in New Issue
Block a user