Hide trackers proxy settings if tor always set on /Config page
This commit is contained in:
parent
ab9fe173a8
commit
d1fb4067e7
2 changed files with 8 additions and 10 deletions
|
@ -123,6 +123,8 @@ class ConfigStorage extends Class
|
|||
{title: "Tor", value: "tor"}
|
||||
{title: "Disable", value: "disable"}
|
||||
]
|
||||
isHidden: ->
|
||||
Page.values["tor"] == "always"
|
||||
|
||||
section.items.push
|
||||
title: "Custom socks proxy address for trackers"
|
||||
|
@ -154,4 +156,4 @@ class ConfigStorage extends Class
|
|||
@items.push(section)
|
||||
return section
|
||||
|
||||
window.ConfigStorage = ConfigStorage
|
||||
window.ConfigStorage = ConfigStorage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue