Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Aug 31, 2024
1 parent dd19ba1 commit d44ff01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<img src="${file.uri}" alt="${file.name}" ${dataAttributes} data-expensify-preview-modal-disabled="true" />`;
}
if (file.type?.startsWith('video')) {
Expand Down

0 comments on commit d44ff01

Please sign in to comment.