diff --git a/src/pages/gallery/index.tsx b/src/pages/gallery/index.tsx index 4d1845b1c..3dbdd9440 100644 --- a/src/pages/gallery/index.tsx +++ b/src/pages/gallery/index.tsx @@ -140,6 +140,9 @@ export default function Gallery(props) { setData(data); setCollections(collections); setCollectionAndItsLatestFile(collectionAndItsLatestFile); + const favItemIds = await getFavItemIds(data); + setFavItemIds(favItemIds); + setLoading(false); setProgress(80); await syncWithRemote();