diff --git a/client/src/api/photos.js b/client/src/api/photos.js index aeba49d..e81aa15 100644 --- a/client/src/api/photos.js +++ b/client/src/api/photos.js @@ -115,11 +115,12 @@ export function fetchVideoStats() { return api('/api/videos/stats'); } -export function fetchVideos({ from, to, city } = {}) { +export function fetchVideos({ from, to, city, cursor } = {}) { const p = new URLSearchParams(); - if (from) p.set('from', from); - if (to) p.set('to', to); - if (city) p.set('city', city); + if (from) p.set('from', from); + if (to) p.set('to', to); + if (city) p.set('city', city); + if (cursor) p.set('cursor', cursor); const qs = p.toString(); return api(`/api/videos${qs ? '?' + qs : ''}`); } diff --git a/client/src/components/MemoriesView.jsx b/client/src/components/MemoriesView.jsx index b5f4017..d00ccb3 100644 --- a/client/src/components/MemoriesView.jsx +++ b/client/src/components/MemoriesView.jsx @@ -347,7 +347,7 @@ export default function MemoriesView() { {scanInfo && (
- {scanInfo.scanning ? '⟳ Scanning music…' : scanInfo.enabled ? `${(scanInfo.total ?? tracks.length || scanInfo.count).toLocaleString()} tracks` : ''} + {scanInfo.scanning ? '⟳ Scanning music…' : scanInfo.enabled ? `${scanInfo.count.toLocaleString()} tracks` : ''} {scanInfo.enabled && !scanInfo.scanning && (