Fix double navigation bug in breadcrumbs

This commit is contained in:
Pixeldrain-Server committed 2026-01-27 15:33:25 +01:00
1 parent 70a22d4a06
commit 0723cb5331
9 files changed
+40 -45

No files matched your search

@@ -176,9 +176,13 @@ const leave_confirmation = (e: BeforeUnloadEvent) => {
{/if}
</div>
<div class="body">
{#each upload_queue as job}
{#each upload_queue as job, i}
{#if job.status !== "finished"}
<UploadProgress bind:this={job.component} job={job} finish={finish_upload}/>
<UploadProgress
bind:this={upload_queue[i].component}
bind:job={upload_queue[i]}
finish={finish_upload}
/>
{/if}
{/each}
</div>
@@ -32,7 +32,7 @@ export const upload_file = (
return
}
console.log("Uploading file to ", fs_path_url(path))
console.debug("Uploading file to", fs_path_url(path))
let xhr = new XMLHttpRequest();
xhr.open("PUT", fs_path_url(path) + "?make_parents=true", true);