[ENG-1407] Inspector load original only when one item is selected (#1752)

load original
This commit is contained in:
nikec authored and GitHub committed 2023-11-07 08:53:40 +00:00
1 parent 4d139e3229
commit c79bf3d191
1 file changed
+1 -1
@@ -143,7 +143,7 @@ const Thumbnails = ({ items }: { items: ExplorerItem[] }) => {
<FileThumb
key={uniqueId(item)}
data={item}
loadOriginal={getItemFilePath(item)?.extension !== 'pdf'}
loadOriginal={getItemFilePath(item)?.extension !== 'pdf' && thumbs.length === 1}
frame
blackBars={thumbs.length === 1}
blackBarsSize={16}