mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 21:12:15 -07:00
Fixed: Blank Page after Delete for Index/Editor (Avoid null broadcasts)
This commit is contained in:
parent
77b565c882
commit
e6489eaca3
2 changed files with 6 additions and 1 deletions
|
@ -138,6 +138,11 @@ class SignalRConnector extends Component {
|
|||
|
||||
const handler = this[getHandlerName(name)];
|
||||
|
||||
if (body && body.action === 'updated' && !body.resource) {
|
||||
console.error(`signalR: Null resource broadcast ignored for ${name}`);
|
||||
return;
|
||||
}
|
||||
|
||||
if (handler) {
|
||||
handler(body);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue