mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix glaring tagging issue and timing issue.
This commit is contained in:
@@ -260,12 +260,13 @@ async function importTags(imported_char) {
|
||||
tag = createNewTag(tagName);
|
||||
}
|
||||
|
||||
addTagToMap(tag.id);
|
||||
tag_map[imported_char.avatar].push(tag.id);
|
||||
if (!tag_map[imported_char.avatar].includes(tag.id)) {
|
||||
tag_map[imported_char.avatar].push(tag.id);
|
||||
console.debug('added tag to map', tag, imported_char.name);
|
||||
}
|
||||
};
|
||||
saveSettingsDebounced();
|
||||
await getCharacters();
|
||||
await getSettings();
|
||||
printTagFilters(tag_filter_types.character);
|
||||
printTagFilters(tag_filter_types.group_member);
|
||||
|
||||
|
Reference in New Issue
Block a user