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…
Reference in New Issue