mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 05:22:14 -07:00
Wanted Monitor/Unmonitor Selected button fixed (#528)
* the button was not changing based on the filter selection
nor was it properly carrying out its function.
It should now work.
this code was ported from Sonarr:
979fc436ab
* indents/spaces/formtting
This commit is contained in:
parent
f8ce2334c6
commit
875e1aedcb
7 changed files with 60 additions and 51 deletions
|
@ -202,6 +202,8 @@ class SignalRConnector extends Component {
|
|||
|
||||
if (body.action === 'updated') {
|
||||
this.props.dispatchUpdateItem({ section, ...body.resource });
|
||||
// Repopulate the page to handle recently imported file
|
||||
repopulatePage('trackFileUpdated');
|
||||
} else if (body.action === 'deleted') {
|
||||
this.props.dispatchRemoveItem({ section, id: body.resource.id });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue