fix(frontend): fix org avatar changing

This commit is contained in:
MiniDigger | Martin 2022-12-31 13:37:19 +01:00
parent 388f569d4a
commit cb2bbce125

View File

@ -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">