Skip to content

Commit

Permalink
fix: probe location not accessible after probing
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Aug 30, 2024
1 parent c9fbe3d commit 21837ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions map/client/composables/probe.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ export function useProbe (name, options = {}) {
return activity && activity.isCursor('probe-cursor')
}
function hasProbedLayer () {
return isProbing() && get('item') && get('item').layer
return get('item') && get('item').layer
}
function getProbedLayer () {
return get('item').layer
}
function hasProbedLocation () {
return isProbing() && get('item') && get('item').location
return get('item') && get('item').location
}
function getProbedLocation () {
return get('item').location
Expand Down

0 comments on commit 21837ec

Please sign in to comment.