Skip to content

Commit

Permalink
Merge pull request #294 from Vizioz/features/mobile-UI
Browse files Browse the repository at this point in the history
Features/mobile UI
  • Loading branch information
readingdancer authored Feb 25, 2021
2 parents 839898c + 7f38659 commit 1975662
Show file tree
Hide file tree
Showing 17 changed files with 18,061 additions and 460 deletions.
17,887 changes: 17,553 additions & 334 deletions covid-19-support/package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions covid-19-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@
"@vue/test-utils": "^1.1.2",
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.3",
"decamelize": "^5.0.0",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.5.0",
"prettier": "^2.2.1",
"sass": "^1.32.5",
"sass-loader": "^10.1.1",
"vue-screen": "^1.5.3",
"vue-template-compiler": "^2.6.12"
},
"eslintConfig": {
Expand Down
6 changes: 6 additions & 0 deletions covid-19-support/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
:location="locationData"
:attribution="attribution"
@location-selected="locationSelected"
@location-unselected="locationUnselected"
@bounds="boundsUpdated"
@center="centerUpdated"
:mapUrl="mapUrl"
Expand Down Expand Up @@ -227,6 +228,11 @@ export default {
event_category: 'View details - (' + this.language.name + ')',
event_label: this.filteredMarkers[val.locValue].marker.gsx$providername.$t + proName
})
},
locationUnselected(isSetByMap) {
this.locationData = { locValue: null, locId: null, currentBusiness: null, isSetByMap: isSetByMap }
this.isFilterOpen = false
this.showList = true
}
},
computed: {
Expand Down
Loading

0 comments on commit 1975662

Please sign in to comment.