Feuilles Ingrédient&Herbe extends RdDItemSheet

Pour bénéficier de certains comportements (description...)
This commit is contained in:
Vincent Vandemeulebrouck
2022-12-03 01:21:30 +01:00
parent ac15a022df
commit bb7f4c42ad
3 changed files with 17 additions and 14 deletions

View File

@ -73,9 +73,8 @@ export class RdDItemSheet extends ItemSheet {
editable: this.isEditable,
cssClass: this.isEditable ? "editable" : "locked",
isSoins: false,
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
descriptionmj: await TextEditor.enrichHTML(this.object.system.descriptionmj, {async: true})
description: await TextEditor.enrichHTML(this.item.system.description, {async: true}),
descriptionmj: await TextEditor.enrichHTML(this.item.system.descriptionmj, {async: true})
}
if (this.actor) {
formData.isOwned = true;