mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-11 08:24:53 +00:00
fix the bug with directory picker selecting the current directory
This commit is contained in:
1 parent
b6fcb78f6e
commit
59dade2736
1 file changed
+1
-1
@@ -824,7 +824,7 @@ async function UIWindow(options) {
|
||||
// No item selected, return current directory
|
||||
// ------------------------------------------------
|
||||
if(selected_els.length === 0){
|
||||
selected_dirs = await puter.fs.sign(options.initiating_app_uuid, {uid: $(el_window).attr('data-uid'), action: 'write'})
|
||||
selected_dirs = await puter.fs.sign(options.initiating_app_uuid, {uid: $(el_window).attr('data-uid'), action: 'write', path: $(el_window).attr('data-path')})
|
||||
selected_dirs = selected_dirs.items;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user