You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
useAsThumbnail: empty hasMany upload field hides the upload collection's own file in cards #19234
In an upload collection that also has an upload field, admin.useAsThumbnail defaults to that field (documented: "Defaults to the first upload field"). When the field is a single upload and empty, getDocumentThumbnail falls back to the document itself and shows its own file. When the field is hasMany and empty ([]), it does not fall back, so grid view cards and the Recents/Pinned dashboard widget show the generic icon although the document has its own image.
Activity