mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 06:16:05 +02:00
reduce favorite tab memory usage
This commit is contained in:
@@ -241,9 +241,8 @@ export const useFriendStore = defineStore('Friend', () => {
|
||||
|
||||
function updateLocalFavoriteFriends() {
|
||||
const favoriteStore = useFavoriteStore();
|
||||
const { cachedFavorites } = favoriteStore;
|
||||
localFavoriteFriends.value.clear();
|
||||
for (const ref of cachedFavorites.values()) {
|
||||
for (const ref of favoriteStore.cachedFavorites.values()) {
|
||||
if (
|
||||
!ref.$isDeleted &&
|
||||
ref.type === 'friend' &&
|
||||
|
||||
Reference in New Issue
Block a user