diff --git a/src/app/ui/modal-dialog-custom.js b/src/app/ui/modal-dialog-custom.js index 89a6551b15..27523552e2 100644 --- a/src/app/ui/modal-dialog-custom.js +++ b/src/app/ui/modal-dialog-custom.js @@ -12,6 +12,7 @@ module.exports = { modal('', yo`
${text}
`, null, { label: null }) }, prompt: function (title, text, inputValue, ok, cancel) { + if (!inputValue) inputValue = '' modal(title, yo`
${text}
`, {