Skip to content

Commit

Permalink
fixup! fix(NcAppSidebar): make sidebar a single node to allow using v…
Browse files Browse the repository at this point in the history
…-show
  • Loading branch information
ShGKme committed Jun 14, 2024
1 parent 7de4d25 commit bc7cc6d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/components/NcAppSidebar/NcAppSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,8 @@ export default {
So we cannot render the toggle button directly in this component.
As a simple solution - render it in the content to keep correct position.
-->
<Teleport selector="#content-vue">
<NcButton v-if="!open && !noToggle"
:aria-label="t('Open sidebar')"
<Teleport v-if="!open && !noToggle" selector="#content-vue">
<NcButton :aria-label="t('Open sidebar')"
class="app-sidebar__toggle"
:class="toggleClasses"
type="tertiary"
Expand Down Expand Up @@ -735,8 +734,6 @@ export default {
ClickOutside,
},
inheritAttrs: false,
props: {
active: {
type: String,
Expand Down

0 comments on commit bc7cc6d

Please sign in to comment.