Browse Source

Fix linter

Gautier P 9 months ago
parent
commit
764a5c68ec

+ 1
- 1
flatisfy/web/js_src/components/flatsmap.vue View File

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

+ 1
- 1
flatisfy/web/js_src/store/getters.js View File

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