Fixing an issue with import and images not displaying correctly.

This commit is contained in:
mike12345567 2023-12-05 18:27:56 +00:00
parent 8628c67c90
commit be6cb0825c
1 changed files with 3 additions and 1 deletions

View File

@ -249,7 +249,9 @@ export async function outputProcessing<T extends Row[] | Row>(
continue continue
} }
row[property].forEach((attachment: RowAttachment) => { row[property].forEach((attachment: RowAttachment) => {
attachment.url ??= objectStore.getAppFileUrl(attachment.key) if (!attachment.url) {
attachment.url = objectStore.getAppFileUrl(attachment.key)
}
}) })
} }
} else if ( } else if (