fix(mail(js)): resolve draft mailbox from popup window

Fixes #5442
This commit is contained in:
Francis Lachapelle committed 2021-12-13 14:30:39 -05:00
1 parent 254121052d
commit 25c69aaef4
4 files changed
+26 -8

No files matched your search

@@ -132,7 +132,8 @@
_this.flags.splice(i, 1,'_' + flag);
}
});
this.isread = !!this.isread;
// isread will be undefined when composing a new message -- assume unseen flag is not set.
this.isread = angular.isDefined(this.isread) ? !!this.isread : true;
};
/**