fix: cannot read properties of undefined

This commit is contained in:
pa
2025-10-29 21:12:17 +09:00
committed by Natsumi
parent ac99f7f257
commit 3c640b99c1
2 changed files with 8 additions and 5 deletions

View File

@@ -227,6 +227,9 @@ function userImage(
* @returns {string|*}
*/
function userImageFull(user) {
if (!user) {
return '';
}
const appAppearanceSettingsStore = useAppearanceSettingsStore();
if (
appAppearanceSettingsStore.displayVRCPlusIconsAsAvatar &&