setting config as state

This commit is contained in:
saifullah-N
2023-01-04 18:26:01 +05:30
parent fafca7c0d2
commit b1c7cf3153

View File

@@ -117,7 +117,7 @@ module.exports = {
this.config.motors[3] = z_variant; this.config.motors[3] = z_variant;
try { try {
await api.put("config/save", config); await api.put("config/save", this.config);
this.$dispatch("update"); this.$dispatch("update");
SvelteComponents.showDialog("Message", { SvelteComponents.showDialog("Message", {
title: "Success", title: "Success",