diff --git a/apps/theming/src/components/UserSectionBackground.vue b/apps/theming/src/components/UserSectionBackground.vue index b06ea89ac90..c99997c554a 100644 --- a/apps/theming/src/components/UserSectionBackground.vue +++ b/apps/theming/src/components/UserSectionBackground.vue @@ -147,7 +147,7 @@ async function pickColor(color?: string) { async function pickFile() { await getFilePickerBuilder(t('theming', 'Select a background from your files')) .allowDirectories(false) - .setFilter((node) => node.mime.startsWith('image/')) + .setMimeTypeFilter(['image/*']) .setMultiSelect(false) .addButton({ label: t('theming', 'Select background'),