fix map nav responsive #2221
This commit is contained in:
@@ -16,7 +16,7 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(SearchStore,['keys', 'contentTypeFilter', 'results', 'loaded_results']),
|
||||
...mapState(SearchStore,['phrase', 'contentTypeFilter', 'results', 'loaded_results']),
|
||||
...mapState(ConcernementsStore,['map_mode', 'opened_concernement']),
|
||||
// value(){
|
||||
// return this.keys
|
||||
@@ -24,13 +24,13 @@ export default {
|
||||
},
|
||||
created () {
|
||||
console.log("search created");
|
||||
this.value = this.keys.join(' ');
|
||||
this.value = this.phrase;
|
||||
this.content_type = this.contentTypeFilter;
|
||||
},
|
||||
watch: {
|
||||
value: {
|
||||
handler (n,o){
|
||||
this.setKeys(n);
|
||||
this.setSearchValue(n);
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
@@ -42,7 +42,7 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
...mapActions(SearchStore,['setKeys','setContentType','newSearch']),
|
||||
...mapActions(SearchStore,['setSearchValue','setContentType','newSearch']),
|
||||
...mapActions(ConcernementsStore,['openCloseConcernements']),
|
||||
onSubmitSearch (event) {
|
||||
console.log("onSubmitSearch", event, this.value);
|
||||
|
||||
Reference in New Issue
Block a user