Tag Folders: hidden/closed folders

- Implement folder types: Open, Closed, None
- Closed folders hide characters from most places
- "character(s)" singular wording on entity list
- small refactoring for that code
This commit is contained in:
Wolfsblvt
2024-03-06 00:28:14 +01:00
parent c0e112d195
commit e578d3dbb6
6 changed files with 173 additions and 80 deletions

View File

@@ -544,6 +544,9 @@ export function getGroupBlock(group) {
template.find('.ch_fav').val(group.fav);
template.find('.group_select_counter').text(count);
template.find('.group_select_block_list').append(namesList.join(''));
if (count == 1) {
template.find('.character_unit_name').text('character');
}
// Display inline tags
const tags = getTagsList(group.id);