Skip to content

Commit

Permalink
chore: Hide sidebar when is incomplete setup
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Jun 24, 2024
1 parent 65eae84 commit 342bee7
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 342bee7

Please sign in to comment.