From be6cb0825c21bfc0aa463a198a9ae80c8996b66c Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 5 Dec 2023 18:27:56 +0000 Subject: [PATCH] Fixing an issue with import and images not displaying correctly. --- packages/server/src/utilities/rowProcessor/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/server/src/utilities/rowProcessor/index.ts b/packages/server/src/utilities/rowProcessor/index.ts index 293e74312e..a6817ddf19 100644 --- a/packages/server/src/utilities/rowProcessor/index.ts +++ b/packages/server/src/utilities/rowProcessor/index.ts @@ -249,7 +249,9 @@ export async function outputProcessing( continue } row[property].forEach((attachment: RowAttachment) => { - attachment.url ??= objectStore.getAppFileUrl(attachment.key) + if (!attachment.url) { + attachment.url = objectStore.getAppFileUrl(attachment.key) + } }) } } else if (