mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 08:33:58 -07:00
DownloadClient settings cleaned up
This commit is contained in:
parent
c1bbd0bd5d
commit
fd88f17ead
8 changed files with 47 additions and 47 deletions
|
@ -39,32 +39,32 @@ define([
|
|||
refreshUIVisibility: function (clientId) {
|
||||
|
||||
if (!clientId) {
|
||||
clientId = "0";
|
||||
clientId = "sabnzbd";
|
||||
}
|
||||
|
||||
switch (clientId.toString()) {
|
||||
case "0":
|
||||
case "sabnzbd":
|
||||
this.ui.sabConfig.show();
|
||||
this.ui.blackholeConfig.hide();
|
||||
this.ui.pneumaticConfig.hide();
|
||||
this.ui.nzbGetConfig.hide();
|
||||
break;
|
||||
|
||||
case "1":
|
||||
case "blackhole":
|
||||
this.ui.sabConfig.hide();
|
||||
this.ui.blackholeConfig.show();
|
||||
this.ui.pneumaticConfig.hide();
|
||||
this.ui.nzbGetConfig.hide();
|
||||
break;
|
||||
|
||||
case "2":
|
||||
case "pneumatic":
|
||||
this.ui.sabConfig.hide();
|
||||
this.ui.blackholeConfig.hide();
|
||||
this.ui.pneumaticConfig.show();
|
||||
this.ui.nzbGetConfig.hide();
|
||||
break;
|
||||
|
||||
case "3":
|
||||
case "nzbget":
|
||||
this.ui.sabConfig.hide();
|
||||
this.ui.blackholeConfig.hide();
|
||||
this.ui.pneumaticConfig.hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue