More UI Cleanup

This commit is contained in:
Qstick 2017-10-07 18:38:31 -04:00
parent 9c88c2006d
commit 1700c471b7
96 changed files with 267 additions and 333 deletions

View file

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