Copy migrated preset into loaded presets

Since this only is populated once during page load
This commit is contained in:
maver
2023-08-10 19:56:18 +02:00
parent 7fb896ce2a
commit b1254fa2ab
3 changed files with 19 additions and 30 deletions

View File

@ -542,7 +542,7 @@ this
};
// Register configuration migrations
registerPromptManagerMigration(saveSettings);
registerPromptManagerMigration();
$(document).ajaxError(function myErrorHandler(_, xhr) {
if (xhr.status == 403) {
@ -5089,7 +5089,7 @@ async function getSettings(type) {
$("#your_name").val(name1);
}
// Allow subscribers to mutate settings before applying any modifiers
// Allow subscribers to mutate settings
eventSource.emit(event_types.SETTINGS_LOADED_BEFORE, settings);
//Load KoboldAI settings