Update UI when remembering tag import setting

This commit is contained in:
Cohee 2024-06-22 12:56:57 +03:00
parent aa16ac446d
commit 36ecf8a717
1 changed files with 1 additions and 0 deletions

View File

@ -778,6 +778,7 @@ async function showTagImportPopup(character, existingTags, newTags, folderTags)
const setting = buttonSettingsMap[popup.result];
if (!setting) return;
power_user.tag_import_setting = setting;
$('#tag_import_setting').val(power_user.tag_import_setting);
saveSettingsDebounced();
console.log('Remembered tag import setting:', Object.entries(tag_import_setting).find(x => x[1] === setting)[0], setting);
}