mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-10 10:23:52 +02:00
fix: add optional chaining for friend location tag check
This commit is contained in:
@@ -324,7 +324,7 @@ export const useVrcxStore = defineStore('Vrcx', () => {
|
||||
instanceStore.cachedInstances.forEach((ref, id) => {
|
||||
if (
|
||||
[...friendStore.friends.values()].some(
|
||||
(f) => f.$location.tag === id
|
||||
(f) => f.$location?.tag === id
|
||||
)
|
||||
) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user