[UI] Refactor TrackFile Modal

This commit is contained in:
Qstick 2017-09-24 22:58:13 -04:00
parent e3c6bc3263
commit 9be4ec4c15
43 changed files with 280 additions and 290 deletions

View file

@ -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 });
}
}