fix(sonarr): Pass the episode ID alongside all ManualEpisodeSearch events when publishing to the networking channel

This commit is contained in:
Dark-Alex-17 committed 2024-12-18 00:12:18 -07:00
1 parent 924f8d5eff
commit fcb87a6779
7 files changed
+22 -121

No files matched your search

+3 -1
View File
@@ -88,7 +88,9 @@ impl<'a> App<'a> {
if let Some(episode_details_modal) = season_details_modal.episode_details_modal.as_ref() {
if episode_details_modal.episode_releases.is_empty() {
self
.dispatch_network_event(SonarrEvent::GetEpisodeReleases(None).into())
.dispatch_network_event(
SonarrEvent::GetEpisodeReleases(self.extract_episode_id().await).into(),
)
.await;
}
}