1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-22 22:15:17 -04:00

Series detials fixes

Fixed: Adding a new series and going to series details will show data after information is fetched
Fixed: Series details won't reload view after update
This commit is contained in:
Mark McDowall
2014-11-06 07:34:15 -08:00
parent 48ec113598
commit b6fc490b89
6 changed files with 87 additions and 34 deletions
+8 -2
View File
@@ -24,8 +24,9 @@ namespace NzbDrone.Api.Series
IHandle<EpisodeFileDeletedEvent>,
IHandle<SeriesUpdatedEvent>,
IHandle<SeriesEditedEvent>,
IHandle<SeriesDeletedEvent>
IHandle<SeriesDeletedEvent>,
IHandle<SeriesRenamedEvent>
{
private readonly ISeriesService _seriesService;
private readonly ISeriesStatisticsService _seriesStatisticsService;
@@ -207,5 +208,10 @@ namespace NzbDrone.Api.Series
{
BroadcastResourceChange(ModelAction.Deleted, message.Series.InjectTo<SeriesResource>());
}
public void Handle(SeriesRenamedEvent message)
{
BroadcastResourceChange(ModelAction.Updated, message.Series.Id);
}
}
}