diff --git a/src/renderer/src/modules/entry-column/Items/picture-masonry.tsx b/src/renderer/src/modules/entry-column/Items/picture-masonry.tsx index b939e78442..6e6fc2dbb1 100644 --- a/src/renderer/src/modules/entry-column/Items/picture-masonry.tsx +++ b/src/renderer/src/modules/entry-column/Items/picture-masonry.tsx @@ -68,6 +68,7 @@ export const PictureMasonry: FC = (props) => { const images = [] as string[] data.forEach((entryId) => { const entry = getEntry(entryId) + if (!entry) return images.push(...imageActions.getImagesFromEntry(entry.entries)) })