Merge pull request #2344 from Wolfsblvt/fix-tags-on-char-creation

Fix adding tags on char/group creation again
This commit is contained in:
Cohee
2024-06-04 17:09:32 +03:00
committed by GitHub
2 changed files with 27 additions and 6 deletions

View File

@ -178,6 +178,8 @@ import {
tag_filter_types,
compareTagsForSort,
initTags,
applyTagsOnCharacterSelect,
applyTagsOnGroupSelect,
} from './scripts/tags.js';
import {
SECRET_KEYS,
@ -1308,6 +1310,10 @@ export async function printCharacters(fullRefresh = false) {
printTagFilters(tag_filter_types.character);
printTagFilters(tag_filter_types.group_member);
// We are also always reprinting the lists on character/group edit window, as these ones doesn't get updated otherwise
applyTagsOnCharacterSelect();
applyTagsOnGroupSelect();
const entities = getEntitiesList({ doFilter: true });
$('#rm_print_characters_pagination').pagination({