mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Migrate preference for existing users
This commit is contained in:
@ -1564,7 +1564,10 @@ function loadPowerUserSettings(settings, data) {
|
||||
}
|
||||
|
||||
// Clean up old/legacy settings
|
||||
delete power_user.import_card_tags;
|
||||
if (power_user.import_card_tags !== undefined) {
|
||||
power_user.tag_import_setting = power_user.import_card_tags ? tag_import_setting.ASK : tag_import_setting.NONE;
|
||||
delete power_user.import_card_tags;
|
||||
}
|
||||
|
||||
$('#single_line').prop('checked', power_user.single_line);
|
||||
$('#relaxed_api_urls').prop('checked', power_user.relaxed_api_urls);
|
||||
|
Reference in New Issue
Block a user