Skip to content

Commit 95c0a3f

Browse files
authored
Merge pull request #61878 from nextcloud/backport/61688/stable34
[stable34] fix: adjust file picker for background image to allow folder navigation
2 parents 5368f4a + fa697e4 commit 95c0a3f

5 files changed

Lines changed: 5 additions & 5 deletions

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'),

dist/theming-settings-personal.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* extracted by css-entry-points-plugin */
2-
@import './theming-theming-settings-personal-snrZ4DPH.chunk.css';
2+
@import './theming-theming-settings-personal-C1J8qg1L.chunk.css';
33
@import './common-createElementId-DhjFt1I9-C_oBIsvc.chunk.css';
44
@import './common-logger-D3RVzcfQ-BE3lcFW4.chunk.css';
55
@import './common-NcModal-B-YLND3e-CirRoP1Y.chunk.css';

dist/theming-settings-personal.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/theming-settings-personal.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/theming-theming-settings-personal-snrZ4DPH.chunk.css renamed to dist/theming-theming-settings-personal-C1J8qg1L.chunk.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)