Skip to content

Commit

Permalink
refactor(maps.js): fix spelling of property
Browse files Browse the repository at this point in the history
  • Loading branch information
amoncaldas committed Jul 17, 2021
1 parent 60829c4 commit 32ea7c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pages/maps/Maps.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="maps" :style="{height: viewHeight + 'px'}">
<resize-observer @notify="setViewHeight()" />
<simple-place-search :height="simpleMapSearcHeight" v-if="simpleSearchIsVisible"></simple-place-search>
<simple-place-search :height="simpleMapSearchHeight" v-if="simpleSearchIsVisible"></simple-place-search>
<v-btn round v-if="refreshSearchAvailable"
:style="{top: mapHeight - 50 + 'px !important'}"
:title="$t('maps.updateSearchAfterZoomOrCenterChange')"
Expand Down
6 changes: 3 additions & 3 deletions src/pages/maps/maps.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default {
isAltitudeModalOpen: false,
isSettingsOpen: false,
isAboutOpen: false,
simpleMapSearcHeight: 65,
simpleMapSearchHeight: 65,
defaultZoom: appConfig.initialZoomLevel,
mapViewData: new MapViewData(),
bottomNavActive: false,
Expand Down Expand Up @@ -196,7 +196,7 @@ export default {
next()
},
watch: {
$route: function (to, from) {
$route: function () {
this.loadRoute()
this.setModalState()
this.loadAvoidPolygonsFromAppRoute()
Expand Down Expand Up @@ -485,7 +485,7 @@ export default {
this.$store.commit('setLeftSideBarIsOpen', true)
this.bottomNavActive = false
},
/**
/**
* When an `add isochrones center` option is hit,
* emits an addAsIsochroneCenter event via eventBus.
* The map-view component does not emit events via
Expand Down

0 comments on commit 32ea7c4

Please sign in to comment.