mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 10:10:47 +00:00
Fix di errori
This commit is contained in:
@@ -27,7 +27,7 @@ fetch(urlRoutes)
|
||||
lineaSelect.appendChild(option);
|
||||
});
|
||||
})
|
||||
.catch(error => console.error('Errore nel caricamento dei dati:', error));
|
||||
.catch(error => {console.error('Errore nel caricamento dei dati:', error)});
|
||||
fetch(urlModels)
|
||||
.then(response => {
|
||||
if (!response.ok) throw new Error("Errore nel caricamento dei dati.");
|
||||
@@ -49,7 +49,7 @@ fetch(urlModels)
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch(error => console.error('Errore nel caricamento dei dati:', error));
|
||||
.catch(error => {console.error('Errore nel caricamento dei dati:', error)});
|
||||
|
||||
|
||||
function modelsDictionary(model){
|
||||
|
Reference in New Issue
Block a user