diff --git a/module/actor-sheet.js b/module/actor-sheet.js index 732b1922..5cd04ee4 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -407,19 +407,19 @@ export class RdDActorSheet extends ActorSheet { // Display info about queue html.find('.queuesouffle-label a').click((event) => { let myID = event.currentTarget.attributes['data-item-id'].value; - const item = this.actor.getOwnedItem(myID); + const item = this.actor.getEmbeddedDocuments('Item', myID); item.sheet.render(true); }); // Info sort html.find('.sort-label a').click((event) => { let myID = event.currentTarget.attributes['data-id'].value; - const item = this.actor.getOwnedItem(myID); + const item = this.actor.getEmbeddedDocuments('Item', myID); item.sheet.render(true); }); // Info sort html.find('.case-label a').click((event) => { let myID = event.currentTarget.attributes['data-id'].value; - const item = this.actor.getOwnedItem(myID); + const item = this.actor.getEmbeddedDocuments('Item', myID); item.sheet.render(true); }); diff --git a/templates/item-danse-sheet.html b/templates/item-danse-sheet.html index dc67d164..520b6e8d 100644 --- a/templates/item-danse-sheet.html +++ b/templates/item-danse-sheet.html @@ -11,7 +11,7 @@