mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-26 07:24:10 +08:00
fix: logMaxRows value
This commit is contained in:
parent
b66dd8902d
commit
b3c924e33b
@ -162,4 +162,4 @@ export enum LOG_LEVEL {
|
||||
Silent = 'silent',
|
||||
}
|
||||
|
||||
export const LOGS_TABLE_MAX_ROWS_LIST = [200, 300, 500, 800, 1000]
|
||||
export const LOGS_TABLE_MAX_ROWS_LIST = [200, 300, 500, 800, 1000]
|
||||
|
@ -437,17 +437,11 @@ const ConfigForXd = () => {
|
||||
|
||||
<select
|
||||
class="select select-bordered w-full max-w-xs"
|
||||
value={rows}
|
||||
onChange={(e) => {
|
||||
setLogMaxRows(parseInt(e.target.value))
|
||||
}}
|
||||
value={logMaxRows()}
|
||||
onChange={(e) => setLogMaxRows(parseInt(e.target.value))}
|
||||
>
|
||||
<For each={LOGS_TABLE_MAX_ROWS_LIST}>
|
||||
{(rows) => (
|
||||
<option value={rows}>
|
||||
{rows}
|
||||
</option>
|
||||
)}
|
||||
{(rows) => <option value={rows}>{rows}</option>}
|
||||
</For>
|
||||
</select>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user