mirror of
https://github.com/Radarr/Radarr
synced 2025-12-07 08:54:57 +01: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 }) => {
|
handleNotification = ({ action, resource }) => {
|
||||||
const section = 'settings.notifications';
|
const section = 'settings.notifications';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using NzbDrone.Core.Extras.Metadata;
|
using NzbDrone.Core.Extras.Metadata;
|
||||||
using NzbDrone.Core.ThingiProvider.Events;
|
|
||||||
using NzbDrone.SignalR;
|
using NzbDrone.SignalR;
|
||||||
using Radarr.Http;
|
using Radarr.Http;
|
||||||
|
|
||||||
|
|
@ -29,23 +28,5 @@ public override object DeleteProviders([FromBody] MetadataBulkResource resource)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
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…
Reference in a new issue