From d44ff01007748fdb44306d38b908faabef9641b1 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Sat, 31 Aug 2024 09:41:20 +0800 Subject: [PATCH] add comment --- src/libs/ReportUtils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index 3ddc857ed507..aaaf0a205b43 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -4049,6 +4049,7 @@ function getUploadingAttachmentHtml(file?: FileObject): string { // file.type is a known mime type like image/png, image/jpeg, video/mp4 etc. if (file.type?.startsWith('image')) { + // optimistic image will have its preview disabled until we receive the (compressed if too big) image from the BE return `${file.name}`; } if (file.type?.startsWith('video')) {