mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Misc Fixes and Better Logging/Rejection Messages for Track Import
This commit is contained in:
@@ -218,16 +218,12 @@ class SignalRConnector extends Component {
|
||||
}
|
||||
|
||||
handleTrack = (body) => {
|
||||
const action = body.action;
|
||||
const section = 'tracks';
|
||||
|
||||
if (action === 'updated') {
|
||||
if (body.action === 'updated') {
|
||||
this.props.updateItem({
|
||||
section,
|
||||
section: 'tracks',
|
||||
updateOnly: true,
|
||||
...body.resource
|
||||
});
|
||||
} else if (action === 'deleted') {
|
||||
this.props.removeItem({ section, id: body.resource.id });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user