From f86d98435502691e21e2dbd67450a317a9c850ff Mon Sep 17 00:00:00 2001 From: Juan Tejada Date: Wed, 24 Feb 2016 15:11:03 -0800 Subject: [PATCH] fix(snooze): Close popover on error --- internal_packages/thread-snooze/lib/snooze-store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/internal_packages/thread-snooze/lib/snooze-store.js b/internal_packages/thread-snooze/lib/snooze-store.js index 9648e24ea..017d7905c 100644 --- a/internal_packages/thread-snooze/lib/snooze-store.js +++ b/internal_packages/thread-snooze/lib/snooze-store.js @@ -30,6 +30,7 @@ class SnoozeStore { }) }) .catch((error)=> { + Actions.closePopover(); NylasEnv.reportError(error); NylasEnv.showErrorDialog(`Sorry, we were unable to save your snooze settings. ${error.message}`); });