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;
try {
await api.put("config/save", config);
await api.put("config/save", this.config);
this.$dispatch("update");
SvelteComponents.showDialog("Message", {
title: "Success",