fix(radarr): Pass in the movie ID alongside the GetReleases event when publishing to the networking channel

This commit is contained in:
2024-12-17 20:52:31 -07:00
parent 92d9222b05
commit ba38dcdc15
6 changed files with 15 additions and 29 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ impl<'a> App<'a> {
ActiveRadarrBlock::ManualSearch => match self.data.radarr_data.movie_details_modal.as_ref() {
Some(movie_details_modal) if movie_details_modal.movie_releases.items.is_empty() => {
self
.dispatch_network_event(RadarrEvent::GetReleases(None).into())
.dispatch_network_event(RadarrEvent::GetReleases(self.extract_movie_id().await).into())
.await;
}
_ => (),