mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 21:12:15 -07:00
[UI] Refactor TrackFile Modal
This commit is contained in:
parent
e3c6bc3263
commit
9be4ec4c15
43 changed files with 280 additions and 290 deletions
|
@ -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 });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue