Update GCodeFile and User models to include masterFilter property for improved file type filtering capabilities.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good

This commit is contained in:
Tom Butcher 2026-07-24 22:20:08 +01:00
parent 70456d945d
commit a6fce60d04
2 changed files with 3 additions and 2 deletions

View File

@ -161,7 +161,7 @@ export const GCodeFile = {
required: true,
showPreview: false,
showHyperlink: true,
filter: ['.gcode', '.g'],
masterFilter: ['.gcode', '.g'],
columnWidth: 200
},
{

View File

@ -116,7 +116,8 @@ export const User = {
fileType: 'image',
previewOpen: true,
showPreview: false,
columnWidth: 150
columnWidth: 150,
masterFilter: ['.png', '.jpg', '.jpeg']
}
]
}