Merge branch 'master' into 004_equipment_tracking

This commit is contained in:
Gesina Schwalbe 2020-12-29 23:09:16 +01:00
commit f2724a13a1
6 changed files with 12 additions and 7 deletions

View file

@ -59,7 +59,7 @@ export class DS4ItemSheet extends ItemSheet<DS4ItemDataType, DS4Item> {
html.find(".effect-edit").on("click", (ev) => {
const li = $(ev.currentTarget).parents(".effect");
console.log(li.data("effectId"));
const effect = this.item["effects"].get(li.data("effectId")); // TODO: replace ["..."]
const effect = this.item.effects.get(li.data("effectId"));
effect.sheet.render(true);
});