Skip to content

Commit

Permalink
fix previous PR introducing location id display settings. ref #600
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed May 31, 2024
1 parent a3ec3ec commit ae466f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/LocationCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

<script>
import { defineAsyncComponent } from 'vue'
import { mapStores } from 'pinia'
import { useAppStore } from '../store'
import utils from '../utils.js'
export default {
Expand All @@ -40,6 +42,7 @@ export default {
}
},
computed: {
...mapStores(useAppStore),
showLocationOSMID() {
return !this.hideLocationOSMID && this.appStore.user.username && this.appStore.user.location_display_osm_id
}
Expand Down

0 comments on commit ae466f3

Please sign in to comment.