mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
fix(snooze): Close popover on error
This commit is contained in:
parent
7f5c225d40
commit
f86d984355
1 changed files with 1 additions and 0 deletions
|
@ -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