mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
Clean up avatarHistory
This commit is contained in:
@@ -1151,7 +1151,7 @@ export const useFavoriteStore = defineStore('Favorite', () => {
|
||||
}
|
||||
}
|
||||
if (!avatarInFavorites) {
|
||||
if (!avatarStore.avatarHistory.has(id)) {
|
||||
if (!avatarStore.avatarHistory.includes(id)) {
|
||||
database.removeAvatarFromCache(id);
|
||||
}
|
||||
}
|
||||
@@ -1292,7 +1292,7 @@ export const useFavoriteStore = defineStore('Favorite', () => {
|
||||
}
|
||||
}
|
||||
if (!avatarInFavorites) {
|
||||
if (!avatarStore.avatarHistory.has(avatarId)) {
|
||||
if (!avatarStore.avatarHistory.includes(avatarId)) {
|
||||
database.removeAvatarFromCache(avatarId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user