mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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) {
|
updated: function(data) {
|
||||||
|
if (!data) return;
|
||||||
this.torrents = new Hash(data.torrents);
|
this.torrents = new Hash(data.torrents);
|
||||||
this.stats = data.stats;
|
this.stats = data.stats;
|
||||||
this.filters = data.filters;
|
this.filters = data.filters;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue