Skip to content

Commit

Permalink
chore: Don't show left sidebar if is not SignPDF route
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Apr 2, 2024
1 parent 7f2505a commit a1a800e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
-->

<template>
<NcAppNavigation>
<NcAppNavigation v-if="showLeftSidebar">
<template #list>
<NcAppNavigationItem v-if="back_to_signature"
class="back_to_signature"
Expand Down Expand Up @@ -111,6 +111,9 @@ export default {
back_to_signature() {
return this.$route.query._back_to_signature
},
showLeftSidebar() {
return !!this.$route.name && this.$route.name !== 'SignPDF'
},
},
methods: {
unselectFile() {
Expand Down

0 comments on commit a1a800e

Please sign in to comment.