fixing the list

This commit is contained in:
sanjayk03-dev
2024-01-22 10:20:48 +05:30
parent 96657f3cb1
commit ddbbd56b15
2 changed files with 14 additions and 4 deletions

View File

@@ -42,8 +42,7 @@ module.exports = {
tab: "auto",
ask_home: true,
showGcodeMessage: false,
gcode_files:this.state.files.filter(item => !this.config.macrosList.some(compareItem => compareItem.gcode_file_name === item.gcode_file_name))
.map(item => item.gcode_file_name)
gcode_files:this.state.files.filter(item => !this.config.macrosList.some(compareItem => compareItem.gcode_file_name === item))
};
},