mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
fix uncaught errors
This commit is contained in:
@@ -74,10 +74,10 @@
|
||||
const { hideNicknames } = storeToRefs(useAppearanceSettingsStore());
|
||||
const { isRefreshFriendsLoading } = storeToRefs(useFriendStore());
|
||||
|
||||
const isFriendTraveling = computed(() => props.friend.ref.location === 'traveling');
|
||||
const isFriendTraveling = computed(() => props.friend.ref?.location === 'traveling');
|
||||
const isFriendActiveOrOffline = computed(() => props.friend.state === 'active' || props.friend.state === 'offline');
|
||||
const epoch = computed(() =>
|
||||
isFriendTraveling.value ? props.friend.ref.$travelingToTime : props.friend.ref.$location_at
|
||||
isFriendTraveling.value ? props.friend.ref?.$travelingToTime : props.friend.ref?.$location_at
|
||||
);
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user