Skip to content

Commit

Permalink
Merge pull request #4500 from LibreSign/fix/hide-sidebar-when-is-not-…
Browse files Browse the repository at this point in the history
…necessary

fix: hide sidebar when is not necessary
  • Loading branch information
vitormattos authored Jan 28, 2025
2 parents 364c8e6 + bdcbaf6 commit 7447676
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,13 @@ export default {
showLeftSidebar() {
if (this.$route.name === 'Incomplete'
|| this.$route.name === 'IncompleteExternal'
|| !getCurrentUser()
|| this.$route.path.startsWith('/p/')
|| this.$route.path.startsWith('/validation/') // short validation url
) {
return false
}
return getCurrentUser()
|| !this.$route.path.startsWith('/p/')
return true
},
},
methods: {
Expand Down

0 comments on commit 7447676

Please sign in to comment.