mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-03 20:57:43 +01:00
Disable role select only when advanced mode is off
This commit is contained in:
parent
f395c99a5d
commit
796e52e537
@ -354,7 +354,8 @@ PromptManagerModule.prototype.loadPromptIntoEditForm = function (prompt) {
|
||||
roleField.value = prompt.role ?? '';
|
||||
promptField.value = prompt.content ?? '';
|
||||
|
||||
if (true === prompt.system_prompt) {
|
||||
if (true === prompt.system_prompt &&
|
||||
false === this.serviceSettings.prompt_manager_settings.showAdvancedSettings) {
|
||||
roleField.disabled = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user