Skip to content

Commit

Permalink
fix(feature): only show location if we have data for it
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed Apr 29, 2022
1 parent be407c3 commit 4e74752
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion components/feature.vue
Expand Up @@ -60,7 +60,16 @@
</v-btn>

<v-spacer></v-spacer>
<LocationButton v-if="location" v-bind="location"></LocationButton>
<LocationButton
v-if="
location &&
(location.postcode ||
location.city ||
location.region ||
location.country)
"
v-bind="location"
></LocationButton>
<BaseTooltipButton
v-if="url"
v-bind="{
Expand Down

0 comments on commit 4e74752

Please sign in to comment.