Fix adding tags on char/group creation again

This commit is contained in:
Wolfsblvt
2024-06-04 00:32:30 +02:00
parent 9b969b283e
commit e8aba9fa5f
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({