Suppression bouton default

Pour éviter qu'un dialog ouvert depuis le tchat se valide tout seul
aux ouvertures suivantes
This commit is contained in:
Vincent Vandemeulebrouck 2022-11-17 01:21:13 +01:00
parent 468982b07b
commit 8b6abcc8bb
2 changed files with 2 additions and 4 deletions

View File

@ -43,8 +43,7 @@ export class DialogChronologie extends Dialog {
content: html,
buttons: {
ajout: { label: "Ajouter", callback: it => this.ajouter() },
},
default: "ajout"
}
};
super(conf, options);
}

View File

@ -31,8 +31,7 @@ export class DialogStress extends Dialog {
content: html,
buttons: {
stress: { label: "Stress !", callback: it => { this.onStress(); } }
},
default: "stress"
}
};
super(conf, options);
this.dialogData = dialogData;