forked from cory/tildefriends
ssb: Fix removing a mention discarding a draft.
This commit is contained in:
parent
5bba5776b3
commit
a8bba324ca
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🦀",
|
"emoji": "🦀",
|
||||||
"previous": "&XHioN0J0rvGR7c0jWUfyH3U49Elj+p8R2r/dRn4iAoM=.sha256"
|
"previous": "&bOxvDG3eea4JQU+BddiS5bmAsaEZHqZdVpzpGJJxEn8=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user