fix(front): fix editing group

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-12-06 08:37:48 +01:00
parent 5b337f952a
commit 935799f123
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -261,7 +261,7 @@ const copyURL = async (): Promise<void> => {
onGroupResult(async ({ data }) => {
if (!data) return;
editableGroup.value = data.group;
editableGroup.value = { ...data.group };
try {
avatarFile.value = await buildFileFromIMedia(editableGroup.value?.avatar);
bannerFile.value = await buildFileFromIMedia(editableGroup.value?.banner);