fix: add path to add gcode files in subdirs to query
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
parent
ae1fa8736a
commit
3784d8e9c0
@ -969,7 +969,11 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
addToQueue(item: FileStateFile) {
|
||||
this.$store.dispatch('server/jobQueue/addToQueue', [item.filename])
|
||||
let path = this.currentPath.slice(7)
|
||||
if (path != '') path += '/'
|
||||
const filename = path+item.filename
|
||||
|
||||
this.$store.dispatch('server/jobQueue/addToQueue', [filename])
|
||||
}
|
||||
|
||||
changeMetadataVisible(name: string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user