From 8bd36b45afc84186afc58472e6cc5bf5fe4fd0f1 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Fri, 4 Feb 2022 11:08:10 +0800 Subject: [PATCH] fix(webui): don't reload series card thumbnail on every book update to avoid flicker during analysis --- komga-webui/src/components/ItemCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komga-webui/src/components/ItemCard.vue b/komga-webui/src/components/ItemCard.vue index 59f61a20c..63ec786b7 100644 --- a/komga-webui/src/components/ItemCard.vue +++ b/komga-webui/src/components/ItemCard.vue @@ -289,7 +289,7 @@ export default Vue.extend({ methods: { thumbnailBookChanged(event: ThumbnailBookSseDto) { if (event.selected && (this.computedItem.type() === ItemTypes.BOOK && event.bookId === this.item.id) - || (this.computedItem.type() === ItemTypes.SERIES && event.seriesId === this.item.id) + || (this.thumbnailError && this.computedItem.type() === ItemTypes.SERIES && event.seriesId === this.item.id) ) { this.thumbnailCacheBust = '?' + this.$_.random(1000) }