changing on condition

This commit is contained in:
sanjayk03-dev
2024-04-04 23:57:16 +05:30
parent dfd41138e8
commit eb551e5b4a

View File

@@ -431,7 +431,9 @@ module.exports = new Vue({
this.display_units = this.config.settings["units"];
try {
await api.put("config/save", this.config);
if(selected_tool == "pwncnc-vfd" && saveModbus){
setImmediate(() => this.state['5vv'] = 6);
}
this.modified = false;
} catch (error) {
console.error("Save failed:", error);