mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Reset connection state on removing secret key
This commit is contained in:
@ -22,6 +22,7 @@ async function clearSecret() {
|
|||||||
secret_state[key] = false;
|
secret_state[key] = false;
|
||||||
updateSecretDisplay();
|
updateSecretDisplay();
|
||||||
$(INPUT_MAP[key]).val('');
|
$(INPUT_MAP[key]).val('');
|
||||||
|
$('#main_api').trigger('change');
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateSecretDisplay() {
|
function updateSecretDisplay() {
|
||||||
|
Reference in New Issue
Block a user