fix: Library thumbnail guard, Search People/Agent modes, People pagination debug
This commit is contained in:
@@ -210,7 +210,7 @@ function formatDate(date: string) {
|
||||
}
|
||||
|
||||
async function loadThumbnail(uuid: string) {
|
||||
if (thumbnails.value[uuid] || thumbnailLoading.value.has(uuid)) return
|
||||
if (!uuid || thumbnails.value[uuid] || thumbnailLoading.value.has(uuid)) return
|
||||
thumbnailLoading.value.add(uuid)
|
||||
try {
|
||||
thumbnails.value[uuid] = await invoke('get_thumbnail', { uuid, frame: 30 })
|
||||
|
||||
Reference in New Issue
Block a user