mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 05:34:01 +08:00
refactor: #2256 hide builtin masks
This commit is contained in:
@@ -568,11 +568,11 @@ export function Settings() {
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={!config.dontAddBuiltinMasks}
|
||||
checked={config.hideBuiltinMasks}
|
||||
onChange={(e) =>
|
||||
updateConfig(
|
||||
(config) =>
|
||||
(config.dontAddBuiltinMasks = !e.currentTarget.checked),
|
||||
(config.hideBuiltinMasks = e.currentTarget.checked),
|
||||
)
|
||||
}
|
||||
></input>
|
||||
|
Reference in New Issue
Block a user