fix: DialogV2 requiert au moins un bouton (buttons vides interdit en V14)
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user