10.0.2.1 #573

Merged
uberwald merged 2 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2022-11-13 23:15:44 +01:00
2 changed files with 5 additions and 4 deletions
Showing only changes of commit bcd25dd0ed - Show all commits

View File

@ -27,7 +27,8 @@ export class DialogChronologie extends Dialog {
dateReel: DialogChronologie.getCurrentDateTime() dateReel: DialogChronologie.getCurrentDateTime()
}; };
const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-chronologie.html", dialogData); const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-chronologie.html", dialogData);
new DialogChronologie(html).render(true); const dialog = new DialogChronologie(html);
dialog.render(true);
} }
constructor(html) { constructor(html) {

View File

@ -3,9 +3,9 @@ import { Misc } from "./misc.js";
export class DialogRepos extends Dialog { export class DialogRepos extends Dialog {
static async create(actor) { static async create(actor) {
let actorData = actor const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-repos.html", actor);
const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-repos.html", actorData); const dialog = new DialogRepos(html, actor);
new DialogRepos(html, actor).render(true); dialog.render(true);
} }
constructor(html, actor) { constructor(html, actor) {