From 2988bf17d8c3c57ae1566f912b9113be852dafc7 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Thu, 1 Mar 2018 23:52:49 +1300 Subject: [PATCH] Fix Prompt.cancelable default --- packages/insomnia-app/app/ui/components/modals/prompt-modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/insomnia-app/app/ui/components/modals/prompt-modal.js b/packages/insomnia-app/app/ui/components/modals/prompt-modal.js index 7dec60065..7642d3bc2 100644 --- a/packages/insomnia-app/app/ui/components/modals/prompt-modal.js +++ b/packages/insomnia-app/app/ui/components/modals/prompt-modal.js @@ -84,7 +84,7 @@ class PromptModal extends PureComponent { defaultValue, submitName, selectText, - cancelable, + cancelable: cancelable === undefined ? true : cancelable, placeholder, upperCase, hint,