diff --git a/app/assets/javascripts/discourse/app/components/modal/move-to-topic.hbs b/app/assets/javascripts/discourse/app/components/modal/move-to-topic.hbs index 1c37295002d..e9cf2409476 100644 --- a/app/assets/javascripts/discourse/app/components/modal/move-to-topic.hbs +++ b/app/assets/javascripts/discourse/app/components/modal/move-to-topic.hbs @@ -166,23 +166,55 @@ "topic.split_topic.instructions" count=@model.selectedPostsCount ) }}
- {{/if}} diff --git a/app/assets/javascripts/discourse/app/components/modal/move-to-topic.js b/app/assets/javascripts/discourse/app/components/modal/move-to-topic.js index ac94d14e15f..d1f41bb7c6f 100644 --- a/app/assets/javascripts/discourse/app/components/modal/move-to-topic.js +++ b/app/assets/javascripts/discourse/app/components/modal/move-to-topic.js @@ -162,4 +162,19 @@ export default class MoveToTopic extends Component { this.saving = false; } } + + @action + updateTopicName(newName) { + this.topicName = newName; + } + + @action + updateCategoryId(newId) { + this.categoryId = newId; + } + + @action + updateTags(newTags) { + this.tags = newTags; + } }