setting config as state
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user