Skip to content

Commit

Permalink
Address Collection item thumbnail bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewjordan committed Nov 2, 2023
1 parent 37b5ced commit cfcc591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Viewer/Collection/Collection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Collection: React.FC = () => {
<SelectOption
value={item.id}
key={item.id}
thumbnail={vault.get(item?.thumbnail)}
thumbnail={item?.thumbnail ? vault.get(item?.thumbnail) : undefined}
label={item.label}
/>
))}
Expand Down

0 comments on commit cfcc591

Please sign in to comment.