diff --git a/packages/nc-gui-v2/components/cell/attachment/utils.ts b/packages/nc-gui-v2/components/cell/attachment/utils.ts index 301d937944..d547633bd1 100644 --- a/packages/nc-gui-v2/components/cell/attachment/utils.ts +++ b/packages/nc-gui-v2/components/cell/attachment/utils.ts @@ -86,6 +86,8 @@ export const [useProvideAttachmentCell, useAttachmentCell] = useInjectionState( resolve(res) } reader.readAsDataURL(file) + } else { + resolve(res) } }), ),