Migrate preference for existing users
This commit is contained in:
parent
a6e2692e52
commit
aa16ac446d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue