Skip to content

Commit e313b23

Browse files
fix: adjust file picker for background image to allow folder navigation
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
1 parent 789b29e commit e313b23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/theming/src/components/UserSectionBackground.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ async function pickColor(color?: string) {
147147
async function pickFile() {
148148
await getFilePickerBuilder(t('theming', 'Select a background from your files'))
149149
.allowDirectories(false)
150-
.setFilter((node) => node.mime.startsWith('image/'))
150+
.setMimeTypeFilter(['image/*'])
151151
.setMultiSelect(false)
152152
.addButton({
153153
label: t('theming', 'Select background'),

0 commit comments

Comments
 (0)