Skip to content

Commit

Permalink
Merge pull request #3202 from LibreSign/feat/hide-sidebar-when-incomp…
Browse files Browse the repository at this point in the history
…lete-setup

chore: Hide sidebar when is incomplete setup
  • Loading branch information
vitormattos authored Jun 24, 2024
2 parents 65eae84 + 342bee7 commit 9971cf9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ export default {
return this.$route.query._back_to_signature
},
showLeftSidebar() {
if (this.$route.name === 'Incomplete'
|| this.$route.name === 'IncompleteExternal'
) {
return false
}
return getCurrentUser()
|| !this.$route.path.startsWith('/p/')
},
Expand Down

0 comments on commit 9971cf9

Please sign in to comment.