Skip to content

Commit 44cc456

Browse files
cristianscheidbackportbot[bot]
authored andcommitted
fix: adjust file picker for background image to allow folder navigation
fix: adjust file picker for background image to allow folder navigation Signed-off-by: Cristian Scheid <cristianscheid@gmail.com> [skip ci]
1 parent f2bec71 commit 44cc456

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)