Skip to content

Commit

Permalink
Merge pull request #361 from devansh-webkul/master
Browse files Browse the repository at this point in the history
fix: current version issue
  • Loading branch information
devansh-webkul authored Dec 8, 2023
2 parents f443b79 + edc9ca8 commit 2e637f1
Show file tree
Hide file tree
Showing 2 changed files with 8,095 additions and 4,729 deletions.
6 changes: 6 additions & 0 deletions docs/.vuepress/theme/components/NavLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ export default {
};
},
mounted() {
let currentPath = this.$route.path.split('/');
this.version = currentPath[1];
},
computed: {
userNav () {
return this.$themeLocaleConfig.nav || this.$site.themeConfig.nav || []
Expand Down
Loading

0 comments on commit 2e637f1

Please sign in to comment.