From 56231edc3a7c295d2d11951c93ed982a1a4b5be3 Mon Sep 17 00:00:00 2001 From: William Grant Date: Sun, 25 Mar 2018 18:43:54 +0200 Subject: [PATCH] fix delete confirmation method --- browser/main/NoteList/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index c3ebd9e0..e5b5403c 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -583,7 +583,7 @@ class NoteList extends React.Component { buttons: [i18n.__('Confirm'), i18n.__('Cancel')] }) - return dialogueButtonIndex === 1 ? false : true + return dialogueButtonIndex != 1 } deleteNote () {