| 7158 | importFlashTimeout = setTimeout(function () { | 7158 | importFlashTimeout = setTimeout(function () { |
| 7159 | if (type === 'char_import' || type === 'char_create') { | 7159 | if (type === 'char_import' || type === 'char_create') { |
| 7160 | // Find the page at which the character is located | 7160 | // Find the page at which the character is located |
| 7161 | const avatarFileName = `${charId}.png`; | 7161 | const avatarFileName = charId; |
| 7162 | const charData = getEntitiesList({ doFilter: true }); | 7162 | const charData = getEntitiesList({ doFilter: true }); |
| 7163 | const charIndex = charData.findIndex((x) => x?.item?.avatar?.startsWith(avatarFileName)); | 7163 | const charIndex = charData.findIndex((x) => x?.item?.avatar?.startsWith(avatarFileName)); |
| 7164 | | 7164 | |