mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 02:09:13 +00:00
fix(web): actions ratio limit support decimal values (#1100)
fix(web): make NumberField support decimal values
This commit is contained in:
parent
bdea9599d2
commit
1215036d89
2 changed files with 11 additions and 4 deletions
|
@ -263,7 +263,8 @@ const TypeForm = ({ action, idx, clients }: TypeFormProps) => {
|
|||
name={`actions.${idx}.limit_ratio`}
|
||||
label="Ratio limit"
|
||||
placeholder="Takes any number (0 is no limit)"
|
||||
step={1} // 0.5 does not work
|
||||
step={0.25}
|
||||
isDecimal
|
||||
/>
|
||||
<NumberField
|
||||
name={`actions.${idx}.limit_seed_time`}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue