mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 12:50:47 +00:00
Compare commits
1 Commits
65d0c3dd52
...
main
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c94b34bd1b |
@@ -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