From 935799f123d22fe2ed0f61ffaad741eb0c4bcbca Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 6 Dec 2023 08:37:48 +0100 Subject: [PATCH] fix(front): fix editing group Signed-off-by: Thomas Citharel --- src/views/Group/GroupSettings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Group/GroupSettings.vue b/src/views/Group/GroupSettings.vue index d32d32cb5..64a0d5c70 100644 --- a/src/views/Group/GroupSettings.vue +++ b/src/views/Group/GroupSettings.vue @@ -261,7 +261,7 @@ const copyURL = async (): Promise => { 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);