Skip to content

Commit

Permalink
Uncomment vue config and query param code.
Browse files Browse the repository at this point in the history
  • Loading branch information
fergmac committed Aug 2, 2024
1 parent cc66d29 commit b509cc8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions app/frontend/src/wells/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ const wellsStore = {
wellFileDownloads (state) {
return state.downloads
},
// searchQueryParams (state) {
// return buildSearchParams(state)
// }
searchQueryParams (state) {
return buildSearchParams(state)
}
}
}

Expand Down
10 changes: 5 additions & 5 deletions app/frontend/src/wells/views/WellSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,14 @@ export default {
'searchMapZoom',
'constrainSearch',
'searchInProgress',
// 'searchQueryParams'
'searchQueryParams'
]),
hasResultErrors () {
return (this.searchErrors.filter_group !== undefined && Object.entries(this.searchErrors.filter_group).length > 0)
},
// hasSearchParams (state) {
// return Object.keys(this.searchQueryParams).length > 0
// }
hasSearchParams (state) {
return Object.keys(this.searchQueryParams).length > 0
}
},
methods: {
handleScroll () {
Expand Down Expand Up @@ -439,7 +439,7 @@ export default {
}
cancelSource = axios.CancelToken.source()
const params = {
// ...this.searchQueryParams,
...this.searchQueryParams,
...options
}
this.searchBCInProgress = true
Expand Down
2 changes: 0 additions & 2 deletions app/frontend/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ if (process.env.API_TARGET) {
console.log(`Targetting the API ${process.env.API_TARGET}`)
}

// const { VueLoaderPlugin } = require('vue-loader')
// const webpack = require('webpack');
process.env.VUE_CLI_TEST = false

module.exports = {
Expand Down

0 comments on commit b509cc8

Please sign in to comment.