Compare commits
2 Commits
6c35320164
...
5a1cd5634a
| Author | SHA1 | Date | |
|---|---|---|---|
|
5a1cd5634a
|
|||
|
07d2677af1
|
@@ -137,8 +137,10 @@ class trdom_torrentcontrol extends EventTarget {
|
||||
break;
|
||||
case 'torrent-deleted':
|
||||
this.#log(6, 'we be delet');
|
||||
this.#data = null;
|
||||
if (this.exists) {
|
||||
delete this.#data.name;
|
||||
this.updateDOM();
|
||||
}
|
||||
break;
|
||||
case 'torrent-updated':
|
||||
if (e.detail.torrentHash == this.#hash) {
|
||||
|
||||
@@ -273,8 +273,9 @@ class trserver extends EventTarget {
|
||||
|
||||
getInstanceData() {
|
||||
return {
|
||||
'rpcurl': this.#rpcurl,
|
||||
'auth': this.#authHeader
|
||||
type: 'transmission',
|
||||
rpcurl: this.#rpcurl,
|
||||
auth: this.#authHeader
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user