Skip to content

Commit

Permalink
Merge pull request #71 from readingdancer/Linking-Map-To-List-2
Browse files Browse the repository at this point in the history
A few small changes.
  • Loading branch information
readingdancer authored Apr 1, 2020
2 parents 888e198 + a2659b3 commit 18a8bb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion covid-19-support/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default {
markers = this.entries.filter((c) => c.gsx$resource.$t === this.need && c.gsx$status.$t === 'active')
}
const dayFilters = ['sun', 'mon', 'tues', 'wed', 'thr', 'fri', 'sat'].map((attr) => `gsx$${attr}`)
const dayFilters = ['mon', 'tues', 'wed', 'thr', 'fri', 'sat', 'sun'].map((attr) => `gsx$${attr}`)
const dayFilter = dayFilters[this.day]
return markers.filter((c) => c[dayFilter].$t !== '0')
Expand Down
7 changes: 1 addition & 6 deletions covid-19-support/src/components/SearchFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ export default {
{ value: 'grocery', text: this.$tc('category.grocery', 2) },
{ value: 'pharmacy', text: this.$tc('category.pharmacy', 1) },
{ value: 'pet', text: this.$tc('category.petsupplies', 2) }
// { value: 'pharmacy', text: this.$tc('category.pharmacy', 1) }
// { value: 'childcare', text: this.$t('category.childcare') }
]
},
dayOptions() {
Expand All @@ -87,15 +85,12 @@ export default {
},
methods: {
passLocation: function (val) {
console.log('SearchFilter (75): passLocation' + val.isSetByMap)
this.locationData = val
this.$emit('location-selected', val)
}
},
watch: {
locationData: function (locationVal) {
console.log('SearchFilter (82): watch ' + locationVal.isSetByMap)
}
locationData: function (locationVal) {}
}
}
</script>
Expand Down

0 comments on commit 18a8bb5

Please sign in to comment.