changing logs

This commit is contained in:
sanjayk03-dev
2024-07-17 19:08:42 +05:30
parent 5f5d509521
commit 6f3dd76591
2 changed files with 8 additions and 6 deletions

View File

@@ -743,14 +743,14 @@ module.exports = {
this.confirmDelete = false;
},
home: async function (axis) {
home: function (axis) {
this.ask_home = false;
if (typeof axis == "undefined") {
await api.put("home");
api.put("home");
console.log('store data')
} else if (this[axis].homingMode != "manual") {
await api.put(`home/${axis}`);
api.put(`home/${axis}`);
} else {
SvelteComponents.showDialog("ManualHomeAxis", { axis });
}