#787 Display character version in the list

This commit is contained in:
Cohee1207
2023-07-28 00:04:21 +03:00
parent c3f61af18a
commit ddf485f354
3 changed files with 28 additions and 5 deletions

View File

@@ -896,6 +896,14 @@ async function printCharacters() {
template.find('.ch_description').hide();
}
const version = item.data?.character_version || '';
if (version) {
template.find('.character_version').text(version);
}
else {
template.find('.character_version').hide();
}
// Display inline tags
const tags = getTagsList(item.avatar);
const tagsElement = template.find('.tags');