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, required: true,
showPreview: false, showPreview: false,
showHyperlink: true, showHyperlink: true,
filter: ['.gcode', '.g'], masterFilter: ['.gcode', '.g'],
columnWidth: 200 columnWidth: 200
}, },
{ {

View File

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