From 179ea0c85b5eb58b007217b183cd4f06ec3cb700 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sat, 24 Jun 2023 00:34:30 +0200 Subject: [PATCH] Fix: selection de TMR des signes draconiques --- module/dialog-create-signedraconique.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/dialog-create-signedraconique.js b/module/dialog-create-signedraconique.js index d59e60df..0620864d 100644 --- a/module/dialog-create-signedraconique.js +++ b/module/dialog-create-signedraconique.js @@ -111,7 +111,7 @@ export class DialogCreateSigneDraconique extends Dialog { onSelectTmr(event) { const tmrName = this.html.find(event.currentTarget)?.data("tmr-name"); - const onTmr = this.tmrs.find(it => it.name == tmrName); + const onTmr = this.dialogData.tmrs.find(it => it.name == tmrName); if (onTmr){ onTmr.selected = event.currentTarget.checked; }