Skip to content

Commit

Permalink
fix: dont unrender components in layout wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Mar 11, 2024
1 parent 03f8fd2 commit c79a535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/layout/navigation/SidebarWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

<!-- Sidebar -->
<div class="flex grow flex-col overflow-y-auto bg-base-1000 px-6 ring-1 ring-base-0/10">
<slot v-if="isMenuActive" />
<slot />
</div>
</HeadlessDialogPanel>
</HeadlessTransitionChild>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<div class="flex grow flex-col gap-y-6 overflow-y-auto bg-base-1000 px-6 pb-6 pt-12 ring-1 ring-base-0/10">
<!-- -->

<slot v-if="isSearchMenuActive" />
<slot />
</div>
</HeadlessDialogPanel>
</HeadlessTransitionChild>
Expand Down

0 comments on commit c79a535

Please sign in to comment.