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
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
This commit is contained in:
parent
70456d945d
commit
a6fce60d04
@ -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
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user