Skip to content

Commit

Permalink
fix: Separate direct file selection does not add files (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
janmichek authored Apr 24, 2024
1 parent 8769b50 commit b22ce02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ContractsFileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function addInputFilesToSelectedFiles() {
const isFirstFilesAddition = !hasSelectedFiles.value
selectedFiles.value.push(...fileInput.value.files)
emit('update:selected-files', fileInput.value.files)
emit('update:selected-files', selectedFiles.value)
if (isFirstFilesAddition) {
selectEntryFile(selectedFiles.value[0], 0)
}
Expand Down

0 comments on commit b22ce02

Please sign in to comment.