mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-20 22:20:39 +01:00
Add missing await
This commit is contained in:
parent
3983eef827
commit
f53fa0d19d
@ -166,7 +166,7 @@ class PresetManager {
|
||||
async savePresetAs() {
|
||||
const inputValue = this.getSelectedPresetName();
|
||||
const popupText = !this.isNonGenericApi() ? '<h4>Hint: Use a character/group name to bind preset to a specific chat.</h4>' : '';
|
||||
const name = Popup.show.input('Preset name:', popupText, inputValue);
|
||||
const name = await Popup.show.input('Preset name:', popupText, inputValue);
|
||||
if (!name) {
|
||||
console.log('Preset name not provided');
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user