fix(web): revert disable freeleech field when using percent (#719)

fix(web): reverted freeleech lock
This commit is contained in:
soup 2023-02-23 23:10:17 +01:00 committed by GitHub
parent a6496fc946
commit 209e23de4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -548,7 +548,7 @@ export function Advanced({ values }: AdvancedProps) {
<SwitchGroup name="freeleech" label="Freeleech" description="Enabling freeleech locks freeleech percent to 100. Use either." tooltip={<div><p>Not all indexers announce freeleech on IRC. Check with your indexer before enabling freeleech filtering.</p></div>} />
</div>
<TextField name="freeleech_percent" label="Freeleech percent" columns={6} placeholder="eg. 50,75-100" disabled={values.freeleech}/>
<TextField name="freeleech_percent" label="Freeleech percent" columns={6} placeholder="eg. 50,75-100" />
</CollapsableSection>
</div>
);