Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Merge 7db454a into abbc2b8
Browse files Browse the repository at this point in the history
  • Loading branch information
tboeckmann committed Dec 17, 2019
2 parents abbc2b8 + 7db454a commit e60fc7b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/inbox/inbox-compose/inbox-compose.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,8 @@ export class InboxComposeComponent implements OnInit {
`Error Code: ${err["error"]["code"]}`,
`<p>${err["error"]["message"]}</p><p>Please visit <a href="https://docs.mailchain.xyz/troubleshooting/common-inbox-errors" target="_blank">Docs: common inbox errors</a> to see how to fix this.</p>`,
)
this.sendMessagesDisabled = false;
this.resetErrorOnPage();
});
})
}
Expand Down Expand Up @@ -480,6 +482,14 @@ export class InboxComposeComponent implements OnInit {
}
}

/**
* resetErrorOnPage
*/
private resetErrorOnPage() {
this.errorTitle = ""
this.errorMessage = ""
}

public convertToPlainText() {
let res = confirm("Are you sure? This will remove formatting and cannot be changed back to HTML.")

Expand Down

0 comments on commit e60fc7b

Please sign in to comment.