Skip to content

Comments

Only return link to themed icon if file exists#16095

Merged
jancborchardt merged 1 commit intomasterfrom
bugfix/theming-filetypes
Jun 26, 2019
Merged

Only return link to themed icon if file exists#16095
jancborchardt merged 1 commit intomasterfrom
bugfix/theming-filetypes

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Jun 26, 2019

Close #16058

This makes sure we only return an URL to the imagePath method if the file exists.

Fixes issue mentioned in #16076

.mp4 filetype uses non-existing "video-mp4.svg" as mimetype icon, but we only have "video.svg" and should use that

@jancborchardt jancborchardt merged commit 810e5f4 into master Jun 26, 2019
@delete-merged-branch delete-merged-branch bot deleted the bugfix/theming-filetypes branch June 26, 2019 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants