mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-05 22:47:01 +00:00
fix(nc-gui): some ai review changes
This commit is contained in:
@@ -151,7 +151,7 @@ const handleChange = (info: UploadChangeParam) => {
|
||||
return
|
||||
}
|
||||
|
||||
if (status && status !== 'removed' && status === 'done' && info.file.originFileObj instanceof File) {
|
||||
if (status === 'done' && info.file.originFileObj instanceof File) {
|
||||
// 1. Revoke the object URL, to allow the garbage collector to destroy the uploaded before file
|
||||
if (imageCropperData.value.imageConfig.src) {
|
||||
URL.revokeObjectURL(imageCropperData.value.imageConfig.src)
|
||||
|
||||
Reference in New Issue
Block a user