fix(email): retain paperclip files when resetting the input

This commit is contained in:
red person
2026-10-28 07:26:05 +03:00
parent a646b59110
commit 0f8b137713
10 changed files with 66 additions and 11 deletions
+1 -1
View File
@@ -5197,7 +5197,7 @@ import { attachColorPicker } from './colorPicker.js?v=20260910eyedropper1';
}
async function _handleAttachUpload(e) {
const files = e.target.files;
const files = Array.from(e.target.files || []);
e.target.value = ''; // reset for next upload
await _uploadComposeFiles(files);
}