Fix group tag list not updating

This commit is contained in:
Wolfsblvt
2024-05-23 02:45:23 +02:00
parent 33cec69df9
commit 3a5dfadac5
3 changed files with 13 additions and 23 deletions

View File

@ -178,6 +178,8 @@ import {
tag_filter_types,
compareTagsForSort,
initTags,
applyTagsOnCharacterSelect,
applyTagsOnGroupSelect,
} from './scripts/tags.js';
import {
SECRET_KEYS,
@ -1306,6 +1308,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({