mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 07:46:06 +08:00
fix(snooze): Close popover on error
This commit is contained in:
parent
2eefbc28d3
commit
6458a90eda
|
@ -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}`);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue