ssb: Fix removing a mention discarding a draft.

This commit is contained in:
Cory McWilliams 2025-04-13 07:53:15 -04:00
parent 5bba5776b3
commit a8bba324ca
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "🦀", "emoji": "🦀",
"previous": "&XHioN0J0rvGR7c0jWUfyH3U49Elj+p8R2r/dRn4iAoM=.sha256" "previous": "&bOxvDG3eea4JQU+BddiS5bmAsaEZHqZdVpzpGJJxEn8=.sha256"
} }

View File

@ -359,7 +359,7 @@ class TfComposeElement extends LitElement {
remove_mention(id) { remove_mention(id) {
let draft = this.get_draft(); let draft = this.get_draft();
delete draft.mentions[id]; delete draft.mentions[id];
setTimeout(() => this.notify(), 0); setTimeout(() => this.notify(draft), 0);
} }
render_mention(mention) { render_mention(mention) {