Avatar dialog view/set styles

This commit is contained in:
Natsumi
2025-04-11 14:08:43 +10:00
parent 30b1bf3332
commit 59d3ead781
9 changed files with 220 additions and 12 deletions

View File

@@ -312,7 +312,7 @@
for (let j = 0; j < this.localAvatarFavorites[group].length; ++j) {
ref = this.localAvatarFavorites[group][j];
if (
typeof ref === 'undefined' ||
!ref ||
typeof ref.id === 'undefined' ||
typeof ref.name === 'undefined' ||
typeof ref.authorName === 'undefined'
@@ -330,7 +330,7 @@
for (let i = 0; i < this.favoriteAvatars.length; ++i) {
ref = this.favoriteAvatars[i].ref;
if (
typeof ref === 'undefined' ||
!ref ||
typeof ref.id === 'undefined' ||
typeof ref.name === 'undefined' ||
typeof ref.authorName === 'undefined'

View File

@@ -399,7 +399,7 @@
for (let j = 0; j < this.localWorldFavorites[group].length; ++j) {
ref = this.localWorldFavorites[group][j];
if (
typeof ref === 'undefined' ||
!ref ||
typeof ref.id === 'undefined' ||
typeof ref.name === 'undefined' ||
typeof ref.authorName === 'undefined'
@@ -417,7 +417,7 @@
for (let i = 0; i < this.favoriteWorlds.length; ++i) {
ref = this.favoriteWorlds[i].ref;
if (
typeof ref === 'undefined' ||
!ref ||
typeof ref.id === 'undefined' ||
typeof ref.name === 'undefined' ||
typeof ref.authorName === 'undefined'