Skip to content

Commit d1a9997

Browse files
Christopher MurphyChristopher Murphy
authored andcommitted
fix: Issue with array iteration on macOS.
1 parent b5c9b32 commit d1a9997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/Editor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ export default {
530530
* @param {FileList} f - A FileList array of files.
531531
*/
532532
processFileInput(f) {
533-
f.forEach(f => {
533+
Array.from(f).forEach(f => {
534534
const name = fName(f.name)
535535
const ext = fExt(f.name)
536536
const type = this.getFileType(f.type, ext)

0 commit comments

Comments
 (0)