Skip to content

Commit

Permalink
fixed bug with options in tab
Browse files Browse the repository at this point in the history
  • Loading branch information
dirodriguezm committed Aug 20, 2019
1 parent b867f97 commit 2f92412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/results/tabData.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default {
sortDesc: this.options.sortDesc[0]
});
},
options(value) {
options(value, old) {
if (value.sortBy !== old.sortBy || value.sortDesc != old.sortDesc) {
this.$store.dispatch("queryObjects", {
query_parameters: this.$store.state.search.query_parameters,
Expand Down

0 comments on commit 2f92412

Please sign in to comment.