Skip to content

Commit

Permalink
Fixed an edge case where busting Kavita+ cache in edit series then hi…
Browse files Browse the repository at this point in the history
…tting close wasn't refreshing screen.
  • Loading branch information
majora2007 committed Aug 9, 2024
1 parent 3442500 commit 308b421
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -945,11 +945,14 @@ export class SeriesDetailComponent implements OnInit, AfterContentChecked {
if (closeResult.success) {
window.scrollTo(0, 0);
this.loadSeries(this.seriesId, closeResult.updateExternal);
} else if (closeResult.updateExternal) {
this.loadSeries(this.seriesId, closeResult.updateExternal);
}

if (closeResult.coverImageUpdate) {
this.toastr.info(this.translocoService.translate('series-detail.cover-change'));
}

});
}

Expand Down

0 comments on commit 308b421

Please sign in to comment.