-
Notifications
You must be signed in to change notification settings - Fork 19
Fix resource icons/thumbnails only visible for clickable resources #2007
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
02475a2
to
fdd86b5
Compare
... and fix icons/thumbnails not being shown if the resource is not clickable.
fdd86b5
to
b87ac0f
Compare
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏼 , seems like i didn't notice it, sorry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@pascalwengerter I've fulfilled your request, can you un-request changes, so I can merge? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥸
Description
While working on owncloud/web#6534 I was wondering why disabling thumbnails also (seemingly) disabled placeholder icons.
It turns out they are disabled for non-clickable resources, which hardly makes any sense to me.
This behavior was introduced (hopefully) by mistake in #1958 (or more specifically 2b314c9)
No tests added as the code is already tested as part of
OcResource
.Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: