mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
Handle deluge with 0 torrents
This commit is contained in:
@@ -27,7 +27,7 @@ export default function Component({ service }) {
|
||||
}
|
||||
|
||||
const { torrents } = torrentData;
|
||||
const keys = Object.keys(torrents);
|
||||
const keys = torrents ? Object.keys(torrents) : [];
|
||||
|
||||
let rateDl = 0;
|
||||
let rateUl = 0;
|
||||
|
||||
Reference in New Issue
Block a user