Merge pull request #234 from GOWxx/feat_set_history_to_zero

feat: support history message count to zero
This commit is contained in:
Yifei Zhang 2023-03-31 00:56:57 +08:00 committed by GitHub
commit 52a217883d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ export function Settings(props: { closeSettings: () => void }) {
type="range"
title={config.historyMessageCount.toString()}
value={config.historyMessageCount}
min="2"
min="0"
max="25"
step="2"
onChange={(e) =>