mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 04:22:28 +02: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: {
|
methods: {
|
||||||
thumbnailBookChanged(event: ThumbnailBookSseDto) {
|
thumbnailBookChanged(event: ThumbnailBookSseDto) {
|
||||||
if (event.selected && (this.computedItem.type() === ItemTypes.BOOK && event.bookId === this.item.id)
|
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)
|
this.thumbnailCacheBust = '?' + this.$_.random(1000)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue