Re-add todo.

This commit is contained in:
Oliver Rümpelein 2020-12-28 19:30:38 +01:00
parent 1ef66a2023
commit 5a002b4cb4

View file

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