mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
enhancement(web): disable freeleech percent field if freeleech is enabled (#680)
fix(filters) freeleech percent handling
This commit is contained in:
parent
af43c98632
commit
a50332394c
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ export function Advanced({ values }: AdvancedProps) {
|
|||
<SwitchGroup name="freeleech" label="Freeleech" />
|
||||
</div>
|
||||
|
||||
<TextField name="freeleech_percent" label="Freeleech percent" columns={6} placeholder="eg. 50,75-100" />
|
||||
<TextField name="freeleech_percent" label="Freeleech percent" columns={6} placeholder="eg. 50,75-100" disabled={values.freeleech}/>
|
||||
</CollapsableSection>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue