mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Hide tag for character (#4019)
* Add tagOptions parameter to printTagList for character-specific filtering * Add toggle functionality to hide tags in tag management popup * Add translations for "Hide on character card" in multiple locale files * Add is_hidden_on_character_card property to newTag function * applied linter * revert back `DEFAULT_TAGS_LIMIT` * Remove debug logs * Adjust HTML * Render list and save settings on toggle change * Make tag manager wide --------- Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
This commit is contained in:
@@ -1499,7 +1499,7 @@ function getCharacterBlock(item, id) {
|
||||
|
||||
// Display inline tags
|
||||
const tagsElement = template.find('.tags');
|
||||
printTagList(tagsElement, { forEntityOrKey: id });
|
||||
printTagList(tagsElement, { forEntityOrKey: id, tagOptions: { isCharacterList: true } });
|
||||
|
||||
// Add to the list
|
||||
return template;
|
||||
|
Reference in New Issue
Block a user