Fix: selection de TMR des signes draconiques

This commit is contained in:
Vincent Vandemeulebrouck 2023-06-24 00:34:30 +02:00
parent 3821b5bea1
commit 179ea0c85b

View File

@ -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;
}