mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Fixed a bug where collections wouldn't update after updating collection tags from series detail (#411)
This commit is contained in:
parent
c2d84ed0eb
commit
e226c2b074
@ -103,15 +103,19 @@ export class SeriesDetailComponent implements OnInit {
|
||||
|
||||
const seriesId = parseInt(routeId, 10);
|
||||
this.libraryId = parseInt(libraryId, 10);
|
||||
this.seriesService.getMetadata(seriesId).subscribe(metadata => {
|
||||
this.seriesMetadata = metadata;
|
||||
});
|
||||
this.loadSeriesMetadata(seriesId);
|
||||
this.libraryService.getLibraryType(this.libraryId).subscribe(type => {
|
||||
this.libraryType = type;
|
||||
this.loadSeries(seriesId);
|
||||
});
|
||||
}
|
||||
|
||||
loadSeriesMetadata(seriesId: number) {
|
||||
this.seriesService.getMetadata(seriesId).subscribe(metadata => {
|
||||
this.seriesMetadata = metadata;
|
||||
});
|
||||
}
|
||||
|
||||
handleSeriesActionCallback(action: Action, series: Series) {
|
||||
this.actionInProgress = true;
|
||||
switch(action) {
|
||||
@ -371,6 +375,7 @@ export class SeriesDetailComponent implements OnInit {
|
||||
window.scrollTo(0, 0);
|
||||
if (closeResult.success) {
|
||||
this.loadSeries(this.series.id);
|
||||
this.loadSeriesMetadata(this.series.id);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user