Skip to content

Commit 91b18b3

Browse files
author
BilelJegham
committed
fix: DetailsMap
1 parent d6f8a32 commit 91b18b3

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

public/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
{
7878
"action": "/",
7979
"accept": {
80-
"application/vnd.geo+json": [".geojson",".geo.json"],
81-
"application/json": [".geojson", ".geo.json"]
80+
"application/vnd.geo+json": [".geojson",".json"],
81+
"application/json": [".geojson"]
8282
}
8383
},
8484
{

src/components/game/DetailsMap.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<template>
22
<div
33
class="details-map_container"
4-
v-if="properties && typeof properties === 'object'"
4+
v-if="
5+
properties &&
6+
typeof properties === 'object' &&
7+
(properties.title || properties.description)
8+
"
59
>
610
<h2>
711
{{ properties.title }}

0 commit comments

Comments
 (0)