WebUI: Fix error when submitting magnet before metadata loads
`FileTree.toArray()` dereferenced `#root.children` unconditionally, but `#root` is `null` until `setRoot()` runs, which only happens after metadata arrives with a file list. Submitting a magnet on the Add Torrent dialog before then crashed `submitForm()` via `getFileTreeArray()`. PR #24378.
T
Tom Piccirello committed
a50fc41f5221884dd876ceea227fe6fe662c3485
Parent: 4cdb3eb
Committed by GitHub <noreply@github.com>
on 5/30/2026, 7:37:38 AM