mirror of
https://github.com/discourse/discourse.git
synced 2025-04-02 01:30:38 +08:00
FIX: saving tag changes without description (#24753)
This commit is contained in:
parent
48ec946702
commit
42a75e3df9
@ -131,7 +131,7 @@ export default Component.extend({
|
||||
@action
|
||||
finishedEditing() {
|
||||
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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user