Display avatar name in card list

This commit is contained in:
50h100a
2023-06-26 17:33:10 -04:00
parent 976a8fd65c
commit 2aa0c5d707
3 changed files with 6 additions and 1 deletions

View File

@ -803,6 +803,7 @@ async function printCharacters() {
template.find('img').attr('src', this_avatar);
template.find('.avatar').attr('title', item.avatar);
template.find('.ch_name').text(item.name);
template.find('.ch_avatar_url').text(item.avatar);
template.find('.ch_fav_icon').css("display", 'none');
template.toggleClass('is_fav', item.fav || item.fav == 'true');
template.find('.ch_fav').val(item.fav);