Fix composer serializing attribute for replies (#21)

Fix composer serializing attribute for replies (#21)

diff --git a/assets/javascripts/discourse/components/is-question-checkbox.js b/assets/javascripts/discourse/components/is-question-checkbox.js
index e9afbea..7b32fa2 100644
--- a/assets/javascripts/discourse/components/is-question-checkbox.js
+++ b/assets/javascripts/discourse/components/is-question-checkbox.js
@@ -5,7 +5,11 @@ export default Component.extend({
   init() {
     this._super(...arguments);
 
-    if (this.model.topic && this.model.topic.is_category_expert_question) {
+    if (
+      (this.model.creatingTopic || this.model.editingFirstPost) &&
+      this.model.topic &&
+      this.model.topic.is_category_expert_question
+    ) {
       this.set("model.is_category_expert_question", true);
     }
   },

GitHub sha: 453d6e0b

This commit appears in #21 which was approved by techAPJ. It was merged by markvanlan.