mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
[UI] Refactor TrackFile Modal
This commit is contained in:
@@ -120,7 +120,7 @@ class SignalRConnector extends Component {
|
||||
}
|
||||
|
||||
if (name === 'episodefile') {
|
||||
this.handleEpisodeFile(body);
|
||||
this.handleTrackFile(body);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -206,10 +206,10 @@ class SignalRConnector extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
handleEpisodeFile = (body) => {
|
||||
handleTrackFile = (body) => {
|
||||
if (body.action === 'updated') {
|
||||
this.props.updateItem({
|
||||
section: 'episodeFiles',
|
||||
section: 'trackFiles',
|
||||
...body.resource });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user