mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
fix(send-later): Close popover in inline composer when msg scheduled
This commit is contained in:
parent
d93178893e
commit
3b3f0c0c81
1 changed files with 1 additions and 3 deletions
|
@ -61,9 +61,7 @@ class SendLaterStore extends NylasStore {
|
|||
onSendLater = (draftClientId, sendLaterDate, dateLabel) => {
|
||||
this.recordAction(sendLaterDate, dateLabel)
|
||||
this.setMetadata(draftClientId, {sendLaterDate}).then(() => {
|
||||
if (NylasEnv.isComposerWindow()) {
|
||||
Actions.closePopover();
|
||||
}
|
||||
Actions.closePopover();
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue