forked from potsda.mn/mobilizon
fix(front): fix editing group
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
5b337f952a
commit
935799f123
|
@ -261,7 +261,7 @@ const copyURL = async (): Promise<void> => {
|
||||||
|
|
||||||
onGroupResult(async ({ data }) => {
|
onGroupResult(async ({ data }) => {
|
||||||
if (!data) return;
|
if (!data) return;
|
||||||
editableGroup.value = data.group;
|
editableGroup.value = { ...data.group };
|
||||||
try {
|
try {
|
||||||
avatarFile.value = await buildFileFromIMedia(editableGroup.value?.avatar);
|
avatarFile.value = await buildFileFromIMedia(editableGroup.value?.avatar);
|
||||||
bannerFile.value = await buildFileFromIMedia(editableGroup.value?.banner);
|
bannerFile.value = await buildFileFromIMedia(editableGroup.value?.banner);
|
||||||
|
|
Loading…
Reference in a new issue