Skip to content

Commit

Permalink
Merge pull request #2282 from bcgov/GWELLS/2265Hotfix
Browse files Browse the repository at this point in the history
[GWELLS-2265] HOTFIX** Fix issue with logout/login
  • Loading branch information
dallascrichmond authored Jul 31, 2024
2 parents 8e7f584 + 1e1a6e0 commit f7024de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/frontend/src/wells/components/SearchColumnSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ export default {
methods: {
handleReset () {
this.$emit('reset')
this.localSelectedColumnIds = [...DEFAULT_COLUMNS]
},
showModal () {
this.$refs['column-select-modal'].show()
Expand Down
4 changes: 3 additions & 1 deletion app/frontend/src/wells/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ const wellsStore = {
if (state.pendingSearch !== null) {
state.pendingSearch.cancel()
}
if(!localStorage.getItem('userColumnPreferences')){
commit(SET_SEARCH_RESULT_COLUMNS, DEFAULT_COLUMNS)
}

commit(SET_PENDING_LOCATION_SEARCH, null)
commit(SET_HAS_SEARCHED, false)
Expand All @@ -253,7 +256,6 @@ const wellsStore = {
commit(SET_SEARCH_RESULTS, null)
commit(SET_SEARCH_RESULT_COUNT, 0)
commit(SET_LOCATION_SEARCH_RESULTS, [])
commit(SET_SEARCH_RESULT_COLUMNS, DEFAULT_COLUMNS)
commit(SET_SEARCH_RESULT_FILTERS, {})
commit(SET_SEARCH_MAP_CENTRE, null)
commit(SET_SEARCH_MAP_ZOOM, null)
Expand Down

0 comments on commit f7024de

Please sign in to comment.