mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 13:02:23 -07:00
Refactor Episode section naming to Album in UI
This commit is contained in:
parent
0e7a22dc95
commit
b1a016289c
66 changed files with 372 additions and 372 deletions
|
@ -127,8 +127,8 @@ class SignalRConnector extends Component {
|
|||
return;
|
||||
}
|
||||
|
||||
if (name === 'episode') {
|
||||
this.handleEpisode(body);
|
||||
if (name === 'album') {
|
||||
this.handleAlbum(body);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -137,7 +137,7 @@ class SignalRConnector extends Component {
|
|||
return;
|
||||
}
|
||||
|
||||
if (name === 'episodefile') {
|
||||
if (name === 'trackfile') {
|
||||
this.handleTrackFile(body);
|
||||
return;
|
||||
}
|
||||
|
@ -207,10 +207,10 @@ class SignalRConnector extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
handleEpisode = (body) => {
|
||||
handleAlbum = (body) => {
|
||||
if (body.action === 'updated') {
|
||||
this.props.updateItem({
|
||||
section: 'episodes',
|
||||
section: 'albums',
|
||||
updateOnly: true,
|
||||
...body.resource
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue