fix: Fix conflict modal and add a resume transfert option (#5884)

Co-authored-by: Henrique Dias <mail@hacdias.com>
This commit is contained in:
Anthony GeourjonandHenrique Dias authored and GitHub committed 2026-05-05 14:24:06 +02:00
1 parent 1f22fe65ec
commit f4e148523e
15 files changed
+311 -72

No files matched your search

+6
View File
@@ -49,6 +49,12 @@ export async function fetch(url: string, signal?: AbortSignal) {
return data;
}
export async function fetchAll(url: string): Promise<RecursiveEntry[]> {
url = removePrefix(url);
const res = await fetchURL(`/api/resources/recursive${url}`, {});
return (await res.json()) as RecursiveEntry[];
}
async function resourceAction(url: string, method: ApiMethod, content?: any) {
url = removePrefix(url);