mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-22 07:26:23 +01:00
Commit suggestion
Co-authored-by: Wolfsblvt <wolfsblvt@gmail.com>
This commit is contained in:
parent
6fb6400168
commit
986d33fcdd
@ -105,7 +105,7 @@ function toggleSystemPromptCallback(_args, state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const newState = isTrueBoolean(state);
|
const newState = isTrueBoolean(state);
|
||||||
newState ? setSystemPromptStateCallback(true) : setSystemPromptStateCallback(false);
|
setSystemPromptStateCallback(newState);
|
||||||
return String(power_user.sysprompt.enabled);
|
return String(power_user.sysprompt.enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user