mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-26 02:03:49 +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) => {
|
instanceStore.cachedInstances.forEach((ref, id) => {
|
||||||
if (
|
if (
|
||||||
[...friendStore.friends.values()].some(
|
[...friendStore.friends.values()].some(
|
||||||
(f) => f.$location.tag === id
|
(f) => f.$location?.tag === id
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user