frappe-attachments-s3
frappe-attachments-s3 copied to clipboard
fix: Reload File document after S3 Upload
Two issues are being fixed here:
- Not all File uploads are
image_field
uploads. If a File was uploaded on a Doctype withimage_field
specified, that do not mean that File was uploaded for theimage_field
- Reload the File document before returning so that frappe-js sets the correct file_urls in
Attach
&Attach Image
fields