mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Filter default tags (probably), update name
This commit is contained in:
@@ -203,8 +203,9 @@ function selectTag(event, ui, listSelector) {
|
||||
}
|
||||
|
||||
function importTags(imported_char) {
|
||||
|
||||
for (let tagName of imported_char.data.tags) {
|
||||
//Ignore the tags ROOT and TAVERN
|
||||
let imported_tags = imported_char.tags.filter(t => t !== "ROOT" && t !== "TAVERN");
|
||||
for (let tagName of imported_tags) {
|
||||
let tag = tags.find(t => t.name === tagName);
|
||||
|
||||
// create new tag if it doesn't exist
|
||||
|
Reference in New Issue
Block a user