Skip to content

Commit b7cb4b7

Browse files
committed
Merge branch 'feat/fsa_acces_ui_complete' into feat/advanced_hash
2 parents 5798c03 + 322c91a commit b7cb4b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

inst/www/js/dv_listings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,11 @@ const dv_fsa = (function() {
419419
combined_contents.set(new Uint8Array(buffer), file_contents.length);
420420

421421
const temp_file_name = entry.fname + "_" + crypto.randomUUID() + ".tmp"
422-
const temp_handle = await g_directory.handle.getFileHandle(temp_file_name, {create: true});
422+
const temp_handle = await dir_handle.getFileHandle(temp_file_name, {create: true});
423423
const writable = await temp_handle.createWritable();
424424
await writable.write(combined_contents);
425425
await writable.close();
426-
await temp_handle.move(entry.fname);
426+
await temp_handle.move(dir_handle, entry.fname);
427427

428428
entry.error = null;
429429
} catch (error) {

0 commit comments

Comments
 (0)