Thumbnails (#797)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: tonya <tonya@tokia.dev>
This commit is contained in:
Matt
2025-06-22 21:32:48 -04:00
committed by GitHub
parent 8493ec0c90
commit 989100d299
52 changed files with 6109 additions and 303 deletions

View File

@@ -69,8 +69,11 @@
if (!props.item.imageId) {
return "/no-image.jpg";
}
return api.authURL(`/items/${props.item.id}/attachments/${props.item.imageId}`);
if (props.item.thumbnailId) {
return api.authURL(`/items/${props.item.id}/attachments/${props.item.thumbnailId}`);
} else {
return api.authURL(`/items/${props.item.id}/attachments/${props.item.imageId}`);
}
});
const top3 = computed(() => {