[tutorial v1.1_120] Disabled a variable when an other variable are disabled

This commit is contained in:
egarette@silique.fr 2026-04-18 21:40:20 +02:00
parent a73399c89e
commit 217f7adc26

View file

@ -7,7 +7,7 @@ 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 "_.proxy_mode" is not "Manual proxy configuration"