cachedFavoritesByObjectId

This commit is contained in:
pa
2025-10-28 12:12:45 +09:00
committed by Natsumi
parent f5f60b048c
commit 4d18c92f59
7 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -262,7 +262,7 @@ export const useVrcxStore = defineStore('Vrcx', () => {
});
worldStore.cachedWorlds.forEach((ref, id) => {
if (
!favoriteStore.cachedFavoritesByObjectId.has(id) &&
!favoriteStore.cachedFavoritesByObjectId(id) &&
ref.authorId !== userStore.currentUser.id &&
!favoriteStore.localWorldFavoritesList.includes(id)
) {
@@ -271,7 +271,7 @@ export const useVrcxStore = defineStore('Vrcx', () => {
});
avatarStore.cachedAvatars.forEach((ref, id) => {
if (
!favoriteStore.cachedFavoritesByObjectId.has(id) &&
!favoriteStore.cachedFavoritesByObjectId(id) &&
ref.authorId !== userStore.currentUser.id &&
!favoriteStore.localAvatarFavoritesList.includes(id) &&
!avatarStore.avatarHistory.has(id)