diff --git a/components/Fields/Stars.vue b/components/Fields/Stars.vue index dd61f7abc..8c5dac0d3 100644 --- a/components/Fields/Stars.vue +++ b/components/Fields/Stars.vue @@ -1,8 +1,22 @@ diff --git a/stores/map.ts b/stores/map.ts index 7b173ad6d..2d7ae5459 100644 --- a/stores/map.ts +++ b/stores/map.ts @@ -60,10 +60,9 @@ export const mapStore = defineStore('map', { const cleanProperties: { [key: string]: any } = {} Object.keys(feature.properties).forEach((key) => { - if (IsJsonString(feature.properties[key])) + if (key !== 'stars' && IsJsonString(feature.properties[key])) cleanProperties[key] = JSON.parse(feature.properties[key]) - else - cleanProperties[key] = feature.properties[key] + else cleanProperties[key] = feature.properties[key] }) goodFeature.properties = cleanProperties as ApiPoiProperties