Poll WIP (#231):

* fix frontend: modal must be destroyed on hide
This commit is contained in:
John Livingston 2024-07-01 14:53:52 +02:00
parent 52391c922e
commit 8e2a3335ab
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -13,6 +13,11 @@ class PollFormModal extends BaseModal {
super.initialize()
}
onHide () {
super.onHide()
api.modal.remove('livechat-converse-poll-form-modal')
}
renderModal () {
return html`<livechat-converse-poll-form .model=${this.model} .modal=${this}></livechat-converse-poll-form>`
}