Skip to content

Commit

Permalink
changing to router
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratap2018 committed Jan 29, 2024
1 parent d2805bb commit 76d4e61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default {
true :
false;
}else{
this.showUserNav = window.location.hash.includes("/form") || window.location.hash.includes('/auth/google') ||
this.showUserNav = window.location.hash.includes("/form") || window.location.pathname.includes('/auth/google') ||
window.location.hash.includes("/user") || window.location.hash.includes("/sa/home")?true : false
this.isForm= window.location.hash.includes("/form")? true:false
}
Expand Down Expand Up @@ -222,7 +222,7 @@ export default {
window.location.hash.includes("/admin/marketplace") ?
true :
false;
this.showUserNav = window.location.hash.includes("/admin") || window.location.hash.includes("/auth/google")?false : true
this.showUserNav = window.location.hash.includes("/admin") || window.location.pathname.includes("/auth/google")?false : true
},
methods: {
Expand Down

0 comments on commit 76d4e61

Please sign in to comment.