fix(snooze): Close popover on error

This commit is contained in:
Juan Tejada 2016-02-24 15:11:03 -08:00
parent 2eefbc28d3
commit 6458a90eda

View file

@ -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}`);
});