Skip to content

Commit

Permalink
Change version dropdown activity
Browse files Browse the repository at this point in the history
  • Loading branch information
karimi committed Jan 2, 2024
1 parent 5ec2fd7 commit 84d6f81
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quasar_site/src/layouts/MainLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,14 @@ export default {
},
methods: {
onChangeVersionFilter (item) {
this.filterVersion = item;
if (this.$route.query["version"] != item){
this.filterVersion = item;
ViewModel.resetTree();
ViewModel.setMaxVersion(item);
this.api = ViewModel.getTree();
this.$router.push({ query: { version: item } }).then( () =>{
window.location.reload(); //
})
}
},
resizeDrawer(ev) {
Expand Down

0 comments on commit 84d6f81

Please sign in to comment.