diff --git a/src/client/app/ui/utils.js b/src/client/app/ui/utils.js index 06d01d36..6ebbe6c1 100644 --- a/src/client/app/ui/utils.js +++ b/src/client/app/ui/utils.js @@ -216,7 +216,7 @@ module.exports = { callback([path, saveInput.value]) popup.close() } else { - callback([path, choice && options.loadDir ? choice.value : '']) + callback([path, choice ? choice.value : '']) popup.close() } }