mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't look at this
This commit is contained in:
@@ -636,7 +636,7 @@ export async function askForPersonaSelection(title, text, personas, { okButton =
|
|||||||
|
|
||||||
const popup = new Popup(content, POPUP_TYPE.TEXT, '', { okButton: okButton, customButtons: customButtons });
|
const popup = new Popup(content, POPUP_TYPE.TEXT, '', { okButton: okButton, customButtons: customButtons });
|
||||||
const result = await popup.show();
|
const result = await popup.show();
|
||||||
return Number(result) > 100 ? personas[Number(result) - 100] : null;
|
return Number(result) >= 100 ? personas[Number(result) - 100] : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function autoSelectPersona(name) {
|
export function autoSelectPersona(name) {
|
||||||
|
Reference in New Issue
Block a user