Browse Source

Fix linter

master
Gautier P 1 year ago
parent
commit
764a5c68ec
  1. 2
      flatisfy/web/js_src/components/flatsmap.vue
  2. 2
      flatisfy/web/js_src/store/getters.js

2
flatisfy/web/js_src/components/flatsmap.vue

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
<v-tilelayer :url="tiles.url" :attribution="tiles.attribution"></v-tilelayer>
<v-marker-cluster>
<template v-for="marker in flats">
<v-marker :lat-lng="{ lat: marker.gps[0], lng: marker.gps[1] }" :icon="icons.flat" v-on:click="$emit('select-flat', marker.flat_id)">
<v-marker :lat-lng="{ lat: marker.gps[0], lng: marker.gps[1] }" :icon="icons.flat" v-on:click="$emit('select-flat', marker.flatId)">
<!-- <v-popup :content="marker.content"></v-popup> -->
</v-marker>
</template>

2
flatisfy/web/js_src/store/getters.js

@ -60,7 +60,7 @@ export default { @@ -60,7 +60,7 @@ export default {
"</a>" +
cost,
gps: gps,
flat_id: flat.id,
flatId: flat.id,
});
}
}

Loading…
Cancel
Save