Reset send information and better state check before cancel.

This commit is contained in:
N-Pex 2024-10-29 11:58:50 +01:00
parent 10af030fce
commit fe0b0f59c8
2 changed files with 5 additions and 1 deletions

View file

@ -123,6 +123,8 @@ export default {
})
.then(() => {
this.sendingStatus = this.sendStatuses.SENT;
this.sendingAttachments = [];
this.sendingRootEventId = null;
})
.catch((err) => {
console.error("ERROR", err);