fix: add file permissions to edit gcode files

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-11-28 02:27:37 +01:00
1 parent b6c2901908
commit fbead2efb1
1 file changed
+2 -1
+2 -1
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
})
}