mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-27 06:01:08 +08:00
fix(frontend): fix org avatar changing
This commit is contained in:
parent
388f569d4a
commit
cb2bbce125
@ -42,7 +42,7 @@ const canEditCurrentUser = computed<boolean>(() => {
|
|||||||
<AvatarChangeModal
|
<AvatarChangeModal
|
||||||
v-if="user.isOrganization && hasPerms(NamedPermission.EDIT_SUBJECT_SETTINGS)"
|
v-if="user.isOrganization && hasPerms(NamedPermission.EDIT_SUBJECT_SETTINGS)"
|
||||||
:avatar="avatarUrl(user.name)"
|
:avatar="avatarUrl(user.name)"
|
||||||
:action="`/api/internal/organizations/org/${props.user.name}/settings/avatar`"
|
:action="`/organizations/org/${props.user.name}/settings/avatar`"
|
||||||
>
|
>
|
||||||
<template #activator="{ on }">
|
<template #activator="{ on }">
|
||||||
<Tooltip class="absolute -bottom-3 -right-3">
|
<Tooltip class="absolute -bottom-3 -right-3">
|
||||||
|
Loading…
Reference in New Issue
Block a user