FIX: track mutations on topic edit category-chooser only on select (#7528)

This commit is contained in:
Joffrey JAFFEUX 2019-05-13 10:22:28 +02:00 committed by GitHub
parent 999fdb95db
commit 9b75320d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,10 @@
{{/if}}
{{text-field id="edit-title" value=buffered.title maxlength=siteSettings.max_topic_title_length autofocus="true"}}
{{#if showCategoryChooser}}
{{category-chooser class="small" value=buffered.category_id}}
{{category-chooser
class="small"
value=(unbound buffered.category_id)
onSelect=(action (mut buffered.category_id))}}
{{/if}}
{{#if canEditTags}}