Fix tasks: checkbox state does not change when clicked.
This commit is contained in:
		| @ -13,7 +13,8 @@ | ||||
| * Fix #503: set custom emojis max height to text height + bigger when posted alone | ||||
| * Fix: Converse bottom panel messages not visible on new Peertube v7 theme (for example for muted users) | ||||
| * Fix #75: New short video urls makes it difficult to use the settings «Activate chat for these videos». | ||||
| * Fix: moderation notes: fix filter button wrongly displayed on notes without associated occupant. | ||||
| * Fix moderation notes: fix filter button wrongly displayed on notes without associated occupant. | ||||
| * Fix tasks: checkbox state does not change when clicked. | ||||
|  | ||||
| ## 12.0.4 | ||||
|  | ||||
|  | ||||
| @ -23,8 +23,7 @@ export function tplMucTask (el, task) { | ||||
|             type="checkbox" | ||||
|             class="form-check-input" | ||||
|             .checked=${done === true} | ||||
|             @click=${(ev) => { | ||||
|               ev?.preventDefault() | ||||
|             @click=${(_ev) => { | ||||
|               task.set('done', !done) | ||||
|               task.saveItem() | ||||
|             }} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user