Skip to content

Commit ab29e28

Browse files
fix(sidebar): keep NcAppSidebar mounted via open prop to avoid null ref during transition
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 25dcada commit ab29e28

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/RightSidebar/RightSidebar.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
- SPDX-License-Identifier: AGPL-3.0-or-later
44
-->
55
<template>
6-
<NcAppSidebar v-if="sidebarStore.isVisible"
6+
<NcAppSidebar v-if="sidebarStore.activeTab.length > 0"
77
ref="rightAppSidebar"
8+
:open="sidebarStore.isVisible"
89
:name="fileName"
910
:subtitle="subTitle"
1011
v-model:active="sidebarStore.activeTab"

0 commit comments

Comments
 (0)