A platform for community discussion. Free, open, simple.
DEV: Remove reply_as_new_topic from PM composer actions (#17023)
Isaac Janzende1153286de2
diff --git a/app/assets/javascripts/select-kit/addon/components/composer-actions.js b/app/assets/javascripts/select-kit/addon/components/composer-actions.jsindex 9de13debdbb..ac8cbb294e0 100644--- a/app/assets/javascripts/select-kit/addon/components/composer-actions.js+++ b/app/assets/javascripts/select-kit/addon/components/composer-actions.js@@ -130,7 +130,9 @@ export default DropdownSelectBoxComponent.extend({if (this.action !== CREATE_TOPIC &&this.action !== CREATE_SHARED_DRAFT &&- !(this.action === REPLY && this.topic && this.topic.isPrivateMessage) &&+ this.action === REPLY &&+ this.topic &&+ !this.topic.isPrivateMessage &&!this.isEditing &&_topicSnapshot) {