Skip to content

Commit

Permalink
fix(FilePicker): Reset selected files if the current directory is cha…
Browse files Browse the repository at this point in the history
…nged

Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Sep 6, 2023
1 parent 0d89f55 commit 56f43ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/components/FilePicker/FilePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ const currentPath = computed({
window.sessionStorage.setItem('NC.FilePicker.LastPath', path)
}
navigatedPath.value = path
// Reset selected files
selectedFiles.value = []
},
})
Expand Down

0 comments on commit 56f43ed

Please sign in to comment.