diff --git a/src/views/LibraryView.vue b/src/views/LibraryView.vue
index 30fb290..08095c4 100644
--- a/src/views/LibraryView.vue
+++ b/src/views/LibraryView.vue
@@ -232,13 +232,13 @@
{{ isVideo(f) ? 'VIDEO' : (isPhoto(f) ? 'PHOTO' : 'DOC') }}
-
![]()
-
-
⟳
+
![]()
+
+
⟳
📄
@@ -798,6 +798,11 @@ const thumbnails = computed(() => thumbnailsCache.value)
const thumbKey = (uuid: string) => `${uuid}:30`
const unregThumbKey = (path: string) => `unreg:${path}:30`
+// Get full file path for unregistered files
+function getUnregFilePath(f: any): string {
+ return f.file_path || `/Users/accusys/momentry/var/sftpgo/data/demo/${f.file_name}`
+}
+
function hasFaceData(f: any) {
return ['completed', 'face_mgmt_ready', 'agent_ready'].includes(f?.status)
}
@@ -1031,7 +1036,11 @@ async function loadFiles() {
if ((isPhoto(f) || isVideo(f)) && f.file_uuid) loadThumbnail(f.file_uuid)
}
for (const f of files.value) {
- if ((isPhoto(f) || isVideo(f)) && !f.isRegistered && f.file_path) loadUnregisteredThumbnail(f.file_path)
+ if ((isPhoto(f) || isVideo(f)) && !f.isRegistered) {
+ // Construct full path if missing
+ const filePath = f.file_path || `/Users/accusys/momentry/var/sftpgo/data/demo/${f.file_name}`
+ if (filePath) loadUnregisteredThumbnail(filePath)
+ }
}
// Start status loading in background (non-blocking)
loadAllStatus()