fix(sonarr): Pass series ID and season number alongside all ManualSeasonSearch events when publishing to the networking channel

This commit is contained in:
2024-12-18 00:32:36 -07:00
parent f655ca989d
commit f7315a3bec
6 changed files with 28 additions and 225 deletions
+4 -1
View File
@@ -68,7 +68,10 @@ impl<'a> App<'a> {
match self.data.sonarr_data.season_details_modal.as_ref() {
Some(season_details_modal) if season_details_modal.season_releases.is_empty() => {
self
.dispatch_network_event(SonarrEvent::GetSeasonReleases(None).into())
.dispatch_network_event(
SonarrEvent::GetSeasonReleases(self.extract_series_id_season_number_tuple().await)
.into(),
)
.await;
}
_ => (),