fix: add file permissions to edit gcode files

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2021-11-28 02:27:37 +01:00
parent b6c2901908
commit fbead2efb1
No known key found for this signature in database
GPG Key ID: 5D3A5823133D2246

View File

@ -1007,7 +1007,8 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
this.$store.dispatch('editor/openFile', {
root: 'gcodes',
path: path !== '' ? '/'+path : '',
filename: item.filename
filename: item.filename,
permissions: item.permissions
})
}