mirror of
https://github.com/gotson/komga.git
synced 2025-12-19 23:12:47 +01:00
fix(webui): don't reload series card thumbnail on every book update
to avoid flicker during analysis
This commit is contained in:
parent
288858cf64
commit
8bd36b45af
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue