Skip to content

A platform for community discussion. Free, open, simple.

FIX: Add missing props to move-to-topic (#23349)

Jarek Radosz6bd66438d867
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 8a7c2b8bc3e..84c17e03d01 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
@@ -79,6 +79,14 @@ export default class MoveToTopic extends Component {
return this.canSplitTopic && this.currentUser?.admin;
}
+ get canAddTags() {
+ return this.site.can_create_tag;
+ }
+
+ get canTagMessages() {
+ return this.site.can_tag_pms;
+ }
+
@action
performMove() {
if (this.newTopic) {