Small change to pizza add success message
This commit is contained in:
@@ -104,7 +104,7 @@ function addPizza(id, nome, prezzo){
|
|||||||
fetch(apiUrl + "/api/pizze", requestOptions)
|
fetch(apiUrl + "/api/pizze", requestOptions)
|
||||||
.then((response) => response.text())
|
.then((response) => response.text())
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
alert("Pizza aggiunta con successo! Ricarica la lista per mostrarla in pagina.");
|
alert("Pizza aggiunta con successo! Aggiorna la lista per mostrarla in pagina.");
|
||||||
window.close();
|
window.close();
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user