diff --git a/ui/media/js/dnd.js b/ui/media/js/dnd.js index 4f4fc22a..a7c83cc5 100644 --- a/ui/media/js/dnd.js +++ b/ui/media/js/dnd.js @@ -375,7 +375,7 @@ function readUI() { } function getModelPath(filename, extensions) { - if (filename === null) { + if (typeof filename !== "string") { return }