Fixed mainaining state while deleting, removed time from config
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -145,9 +145,9 @@ module.exports = {
|
||||
file,
|
||||
onComplete: () => {
|
||||
this.last_file_time = undefined; // Force reload
|
||||
this.loadMacrosGcode();
|
||||
},
|
||||
});
|
||||
this.loadMacrosGcode();
|
||||
},
|
||||
uploadGCode: async function (filename, file) {
|
||||
const xhr = new XMLHttpRequest();
|
||||
|
||||
@@ -681,13 +681,7 @@
|
||||
"gcode_file_name": "TurnOffVac.ngc",
|
||||
"gcode_file_time": 1705008395.476232
|
||||
}
|
||||
],
|
||||
"template": {
|
||||
"gcode_file_time": {
|
||||
"type": "int",
|
||||
"default": 1705008395
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"admin": {
|
||||
|
||||
Reference in New Issue
Block a user