fix: DialogV2 requiert au moins un bouton (buttons vides interdit en V14)

This commit is contained in:
fabres
2026-07-22 00:35:47 +02:00
parent 3afd111711
commit e0e3d4f230
+1 -1
View File
@@ -272,7 +272,7 @@ export class RdDCommands {
new foundry.applications.api.DialogV2({
title: "Commandes disponibles dans le tchat",
content: html,
buttons: [],
buttons: [{ label: "Fermer", action: "close" }],
position: { width: 600, height: 600 }
}).render({ force: true });
}