backup
This commit is contained in:
@@ -104,6 +104,7 @@ export function JailSectionPanel({ jailName, section, onChange }: JailSectionPan
|
||||
value={section.bantime !== null ? String(section.bantime) : ""}
|
||||
size="small"
|
||||
type="number"
|
||||
aria-label="Ban Time (s)"
|
||||
placeholder="e.g. 3600"
|
||||
onChange={(_e, d) => {
|
||||
const n = parseInt(d.value, 10);
|
||||
|
||||
@@ -346,6 +346,7 @@ function JailConfigDetail({
|
||||
type="number"
|
||||
value={banTime}
|
||||
readOnly={readOnly}
|
||||
aria-label="Ban Time (s)"
|
||||
onChange={(_e, d) => {
|
||||
setBanTime(d.value);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user