diff --git a/komga-webui/src/components/ItemCard.vue b/komga-webui/src/components/ItemCard.vue index 8690340f4..1f1770a95 100644 --- a/komga-webui/src/components/ItemCard.vue +++ b/komga-webui/src/components/ItemCard.vue @@ -4,6 +4,7 @@ @@ -12,7 +13,7 @@ lazy-src="../assets/cover.svg" aspect-ratio="0.7071" > - +
@@ -23,6 +24,7 @@ {{ unreadCount }} + + - - - - + @@ -82,6 +87,14 @@ export default Vue.extend({ type: Object as () => BookDto | SeriesDto, required: true, }, + thumbnailOnly: { + type: Boolean, + default: false, + }, + noLink: { + type: Boolean, + default: false, + }, width: { type: [String, Number], required: false, @@ -152,7 +165,7 @@ export default Vue.extend({ onClick () { if (this.preselect && this.onSelected !== undefined) { this.selectItem() - } else { + } else if (!this.noLink) { this.goto() } }, @@ -176,6 +189,10 @@ export default Vue.extend({