fix: add file permissions to edit gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
parent
b6c2901908
commit
fbead2efb1
@ -1007,7 +1007,8 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
|||||||
this.$store.dispatch('editor/openFile', {
|
this.$store.dispatch('editor/openFile', {
|
||||||
root: 'gcodes',
|
root: 'gcodes',
|
||||||
path: path !== '' ? '/'+path : '',
|
path: path !== '' ? '/'+path : '',
|
||||||
filename: item.filename
|
filename: item.filename,
|
||||||
|
permissions: item.permissions
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user