mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-05-20 22:46:38 +02:00
fix: disallow negative/zero value for storage size
This commit is contained in:
parent
0c4955603e
commit
ccebfd54fe
|
@ -330,6 +330,7 @@ export default function RepoManage(props) {
|
|||
<label htmlFor='size'>Storage Size (Go)</label>
|
||||
<input
|
||||
type='number'
|
||||
min='1'
|
||||
defaultValue={
|
||||
props.mode == 'edit'
|
||||
? targetRepo.storageSize
|
||||
|
|
Loading…
Reference in a new issue