mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
fix: logMaxRows value
This commit is contained in:
parent
b66dd8902d
commit
b3c924e33b
@ -437,17 +437,11 @@ const ConfigForXd = () => {
|
|||||||
|
|
||||||
<select
|
<select
|
||||||
class="select select-bordered w-full max-w-xs"
|
class="select select-bordered w-full max-w-xs"
|
||||||
value={rows}
|
value={logMaxRows()}
|
||||||
onChange={(e) => {
|
onChange={(e) => setLogMaxRows(parseInt(e.target.value))}
|
||||||
setLogMaxRows(parseInt(e.target.value))
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<For each={LOGS_TABLE_MAX_ROWS_LIST}>
|
<For each={LOGS_TABLE_MAX_ROWS_LIST}>
|
||||||
{(rows) => (
|
{(rows) => <option value={rows}>{rows}</option>}
|
||||||
<option value={rows}>
|
|
||||||
{rows}
|
|
||||||
</option>
|
|
||||||
)}
|
|
||||||
</For>
|
</For>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user