[tutorial v1.1_140] Disabled a variable when an other variable is disabled
This commit is contained in:
parent
150240b9ec
commit
9a4cb0a9cd
1 changed files with 2 additions and 3 deletions
|
|
@ -7,9 +7,8 @@ proxy_dns_socks5:
|
||||||
default: false
|
default: false
|
||||||
disabled:
|
disabled:
|
||||||
jinja: |-
|
jinja: |-
|
||||||
{{ _.proxy_mode != "Manual proxy configuration" or _.manual.socks_proxy.version == 'v4' }}
|
{{ _.manual.socks_proxy.version is propertyerror or _.manual.socks_proxy.version == 'v4' }}
|
||||||
return_type: boolean
|
return_type: boolean
|
||||||
description: |-
|
description: |-
|
||||||
if "_.proxy_mode" is not "Manual proxy configuration"
|
if "_.manual.socks_proxy.version" is accessible and equals "v4"
|
||||||
or "_.manual.socks_proxy.version" is "v4"
|
|
||||||
...
|
...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue