Skip to content

Commit

Permalink
Merge pull request #2662 from LibreSign/backport/2661/stable28
Browse files Browse the repository at this point in the history
[stable28] chore: Don't show left sidebar if is not SignPDF route
  • Loading branch information
vitormattos authored Apr 3, 2024
2 parents ee4242c + 0f02179 commit 7b89857
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 7b89857

Please sign in to comment.