Skip to content

Commit

Permalink
Fix clearing custom point location.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevage committed May 13, 2020
1 parent ff85b24 commit 86a75d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/routing/DestinationSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ export default {
}
},
clearCustomTarget () {
this.target.geometry.coordinates = null;
if (this.target.source === 'custom') {
this.target.geometry.coordinates = null;
}
}
}
}
Expand Down

0 comments on commit 86a75d6

Please sign in to comment.