A platform for community discussion. Free, open, simple.
FIX: saving tag changes without description (#24753)
Kris42a75e3df95d
diff --git a/app/assets/javascripts/discourse/app/components/tag-info.js b/app/assets/javascripts/discourse/app/components/tag-info.jsindex 587d7bc7daa..c625e69ef97 100644--- a/app/assets/javascripts/discourse/app/components/tag-info.js+++ b/app/assets/javascripts/discourse/app/components/tag-info.js@@ -131,7 +131,7 @@ export default Component.extend({@actionfinishedEditing() {const oldTagName = this.tag.id;- this.newTagDescription = this.newTagDescription.replaceAll("\n", "<br>");+ this.newTagDescription = this.newTagDescription?.replaceAll("\n", "<br>");this.tag.update({ id: this.newTagName, description: this.newTagDescription }).then((result) => {