alert while error

This commit is contained in:
sanjayk03-dev
2024-04-06 13:06:07 +05:30
parent 37772b4771
commit facfc5600b

View File

@@ -116,7 +116,7 @@ module.exports = {
} else if (response.status == 400) { } else if (response.status == 400) {
return (this.GCodeNotFound = true); return (this.GCodeNotFound = true);
} else { } else {
console.error("error loading"); return alert("error loading");
} }
} else { } else {
this.newGcode = ""; this.newGcode = "";