mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 13:02:23 -07:00
More UI Cleanup
This commit is contained in:
parent
9c88c2006d
commit
1700c471b7
96 changed files with 267 additions and 333 deletions
|
@ -132,8 +132,8 @@ class SignalRConnector extends Component {
|
|||
return;
|
||||
}
|
||||
|
||||
if (name === 'series') {
|
||||
this.handleSeries(body);
|
||||
if (name === 'artist') {
|
||||
this.handleArtist(body);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -225,9 +225,9 @@ class SignalRConnector extends Component {
|
|||
this.props.fetchHealth();
|
||||
}
|
||||
|
||||
handleSeries = (body) => {
|
||||
handleArtist = (body) => {
|
||||
const action = body.action;
|
||||
const section = 'series';
|
||||
const section = 'artist';
|
||||
|
||||
if (action === 'updated') {
|
||||
this.props.updateItem({ section, ...body.resource });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue