changing on condition
This commit is contained in:
@@ -431,7 +431,9 @@ module.exports = new Vue({
|
|||||||
this.display_units = this.config.settings["units"];
|
this.display_units = this.config.settings["units"];
|
||||||
try {
|
try {
|
||||||
await api.put("config/save", this.config);
|
await api.put("config/save", this.config);
|
||||||
|
if(selected_tool == "pwncnc-vfd" && saveModbus){
|
||||||
setImmediate(() => this.state['5vv'] = 6);
|
setImmediate(() => this.state['5vv'] = 6);
|
||||||
|
}
|
||||||
this.modified = false;
|
this.modified = false;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Save failed:", error);
|
console.error("Save failed:", error);
|
||||||
|
|||||||
Reference in New Issue
Block a user