This commit is contained in:
parent
3d36be2118
commit
ce470d9e1b
@ -25,7 +25,7 @@ async function loadChoices() {
|
||||
// Carrega as escolhas antes de definir o comando
|
||||
let dynamicChoices = [];
|
||||
loadChoices().then(choices => {
|
||||
dynamicChoices = rows;
|
||||
dynamicChoices = choices;
|
||||
console.log("Escolhas carregadas:", dynamicChoices);
|
||||
}).catch(err => {
|
||||
console.error("Falha ao carregar escolhas:", err);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user