diff --git a/client/angular-proxy.json b/client/angular-proxy.json
index c829506..08dd006 100644
--- a/client/angular-proxy.json
+++ b/client/angular-proxy.json
@@ -1,10 +1,10 @@
{
"/Api": {
- "target": "http://localhost:6500/",
+ "target": "http://192.168.1.100:6502/",
"secure": false
},
"/hub": {
- "target": "http://localhost:6500/",
+ "target": "http://192.168.1.100:6502/",
"secure": false,
"ws": true
}
diff --git a/client/src/app/torrent-table/torrent-table.component.html b/client/src/app/torrent-table/torrent-table.component.html
index fe243e1..630ef4e 100644
--- a/client/src/app/torrent-table/torrent-table.component.html
+++ b/client/src/app/torrent-table/torrent-table.component.html
@@ -9,7 +9,7 @@
0 && selectedTorrents.length === torrents.length"
/>
|
@@ -107,24 +107,24 @@
diff --git a/client/src/app/torrent-table/torrent-table.component.ts b/client/src/app/torrent-table/torrent-table.component.ts
index 96fe395..d188077 100644
--- a/client/src/app/torrent-table/torrent-table.component.ts
+++ b/client/src/app/torrent-table/torrent-table.component.ts
@@ -20,7 +20,7 @@ export class TorrentTableComponent implements OnInit {
public isDeleteModalActive: boolean;
public deleteError: string;
public deleting: boolean;
- public selectAll: boolean;
+ public deleteSelectAll: boolean;
public deleteData: boolean;
public deleteRdTorrent: boolean;
public deleteLocalFiles: boolean;
@@ -75,7 +75,7 @@ export class TorrentTableComponent implements OnInit {
return el.torrentId;
}
- public toggleSelectAll(event: any) {
+ public toggleDeleteSelectAll(event: any) {
this.selectedTorrents = [];
if (event.target.checked) {
@@ -248,16 +248,13 @@ export class TorrentTableComponent implements OnInit {
},
});
}
-
- // Called when "Select All" is toggled
- toggleAllOptions() {
- this.deleteData = this.selectAll;
- this.deleteRdTorrent = this.selectAll;
- this.deleteLocalFiles = this.selectAll;
+ toggleDeleteSelectAllOptions() {
+ this.deleteData = this.deleteSelectAll;
+ this.deleteRdTorrent = this.deleteSelectAll;
+ this.deleteLocalFiles = this.deleteSelectAll;
}
- // Called when any individual checkbox is toggled
- updateSelectAll() {
- this.selectAll = this.deleteData && this.deleteRdTorrent && this.deleteLocalFiles;
+ updateDeleteSelectAll() {
+ this.deleteSelectAll = this.deleteData && this.deleteRdTorrent && this.deleteLocalFiles;
}
}