Skip to content

Commit

Permalink
fix typo in uploadFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed Feb 29, 2024
1 parent c81f269 commit 6385582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/phoenix_live_view/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ export default class View {
this.handleFailedEntryPreflight(entry.ref, "failed preflight", uploader)
}
})
// for auto uploas, we may have an empty entries response from the server
// for auto uploads, we may have an empty entries response from the server
// for form submits that contain invalid entries
if(resp.error || Object.keys(resp.entries).length === 0){
this.undoRefs(ref)
Expand Down

0 comments on commit 6385582

Please sign in to comment.