{#if dragged}
Drop any files here to add to my documents
{/if} { syncDirectoryHandler(); }} /> { const file = createFileFromText(e.detail.name, e.detail.content); uploadFileHandler(file); }} /> { if (inputFiles && inputFiles.length > 0) { for (const file of inputFiles) { uploadFileHandler(file); } inputFiles = null; const fileInputElement = document.getElementById('files-input'); if (fileInputElement) { fileInputElement.value = ''; } } else { toast.error($i18n.t(`File not found.`)); } }} />