Fix: les TMRs sont en arrière plan

This commit is contained in:
2023-10-24 00:30:00 +02:00
parent 0ed90f6177
commit c950f568fd
4 changed files with 20 additions and 18 deletions

View File

@ -34,6 +34,7 @@ export class RdDTMRRencontreDialog extends Dialog {
async onButtonAction(action) {
this.toClose = true;
await this.actor.tmrApp?.restoreTMRAfterAction();
this.actor.tmrApp?.onActionRencontre(action, this.tmr, this.rencontre)
}
@ -41,7 +42,6 @@ export class RdDTMRRencontreDialog extends Dialog {
async close() {
if (this.actor.tmrApp){
if (this.toClose) {
this.actor.tmrApp?.restoreTMRAfterAction();
return await super.close();
}
else {