Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
wazolab committed Jan 19, 2024
1 parent 53683ae commit eafbd0e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions components/PoisDetails/PoiDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,13 @@ export default defineNuxtComponent({
detailsFields(): FieldsList | undefined {
const fields = this.poi.properties.editorial?.details_fields
if (!fields || !this.isLargeLayeout)
if (!fields || !this.isLargeLayeout) {
return fields
else
return fields.filter(item => 'field' in item ? item.field !== 'description' : false)
}
else {
// @ts-expect-error: ignore
return fields.filter(field => field.field !== 'description')
}
},
colorFill(): string {
Expand Down

0 comments on commit eafbd0e

Please sign in to comment.