mirror of
https://github.com/Radarr/Radarr
synced 2025-03-11 06:33:16 +00:00
Sync metadata changes to UI
This commit is contained in:
parent
00d50a030c
commit
748d888520
2 changed files with 8 additions and 19 deletions
|
@ -226,6 +226,14 @@ class SignalRConnector extends Component {
|
|||
}
|
||||
};
|
||||
|
||||
handleMetadata = ({ action, resource }) => {
|
||||
const section = 'settings.metadata';
|
||||
|
||||
if (action === 'updated') {
|
||||
this.props.dispatchUpdateItem({ section, ...resource });
|
||||
}
|
||||
};
|
||||
|
||||
handleNotification = ({ action, resource }) => {
|
||||
const section = 'settings.notifications';
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using NzbDrone.Core.Extras.Metadata;
|
||||
using NzbDrone.Core.ThingiProvider.Events;
|
||||
using NzbDrone.SignalR;
|
||||
using Radarr.Http;
|
||||
|
||||
|
@ -29,23 +28,5 @@ namespace Radarr.Api.V3.Metadata
|
|||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
public override void Handle(ProviderAddedEvent<IMetadata> message)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
public override void Handle(ProviderUpdatedEvent<IMetadata> message)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
public override void Handle(ProviderDeletedEvent<IMetadata> message)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue