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