0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Fixed retrying failed email without error message

refs https://ghost.slack.com/archives/CTH5NDJMS/p1686730494254149?thread_ts=1686593227.689069&cid=CTH5NDJMS
This commit is contained in:
Simon Backx 2023-06-14 10:18:50 +02:00
parent dbf6ccf29e
commit e680ddf14a

View file

@ -13,7 +13,7 @@ export default class PublishModalComponent extends Component {
@service store;
@tracked emailErrorMessage = this.args.data.publishOptions.post.didEmailFail ? this.args.data.publishOptions.post.email.error : undefined;
@tracked emailErrorMessage = this.args.data.publishOptions.post.didEmailFail ? (this.args.data.publishOptions.post.email.error ?? 'Unknown error') : undefined;
@tracked isConfirming = false;
@tracked isComplete = false;
@tracked postCount = null;