Proper treatment for groups #4008
| @@ -715,7 +715,7 @@ export function getGroupBlock(group) { | |||
| 715 | 715 | ||
| 716 | // Display inline tags | 716 | // Display inline tags |
| 717 | const tagsElement = template.find('.tags'); | 717 | const tagsElement = template.find('.tags'); |
| 718 | printTagList(tagsElement, { forEntityOrKey: group.id }); | 718 | printTagList(tagsElement, { forEntityOrKey: group.id, tagOptions: { isCharacterList: true } }); |
| 719 | 719 | ||
| 720 | const avatar = getGroupAvatar(group); | 720 | const avatar = getGroupAvatar(group); |
| 721 | if (avatar) { | 721 | if (avatar) { |
| @@ -957,7 +957,7 @@ async function generateGroupWrapper(by_auto_mode, type = null, params = {}) { | |||
| 957 | setCharacterName(''); | 957 | setCharacterName(''); |
| 958 | activateSendButtons(); | 958 | activateSendButtons(); |
| 959 | showSwipeButtons(); | 959 | showSwipeButtons(); |
| 960 | await eventSource.emit(event_types.GROUP_WRAPPER_FINISHED, { selected_group, type }); | 960 | await eventSource.emit(event_types.GROUP_WRAPPER_FINISHED, { selected_group, type }); |
| 961 | } | 961 | } |
| 962 | 962 | ||
| 963 | return Promise.resolve(textResult); | 963 | return Promise.resolve(textResult); |
| @@ -1482,7 +1482,7 @@ function getGroupCharacterBlock(character) { | |||
| 1482 | 1482 | ||
| 1483 | // Display inline tags | 1483 | // Display inline tags |
| 1484 | const tagsElement = template.find('.tags'); | 1484 | const tagsElement = template.find('.tags'); |
| 1485 | printTagList(tagsElement, { forEntityOrKey: characters.indexOf(character) }); | 1485 | printTagList(tagsElement, { forEntityOrKey: characters.indexOf(character), tagOptions: { isCharacterList: true } }); |
| 1486 | 1486 | ||
| 1487 | if (!openGroupId) { | 1487 | if (!openGroupId) { |
| 1488 | template.find('[data-action="speak"]').hide(); | 1488 | template.find('[data-action="speak"]').hide(); |