mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
add a check to ensure data was returned and ignore otherwise
This commit is contained in:
parent
2765a97506
commit
1c21066fec
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ Deluge.UI = {
|
|||
},
|
||||
|
||||
updated: function(data) {
|
||||
if (!data) return;
|
||||
this.torrents = new Hash(data.torrents);
|
||||
this.stats = data.stats;
|
||||
this.filters = data.filters;
|
||||
|
|
Loading…
Add table
Reference in a new issue