Skip to content

Commit c2832fa

Browse files
committed
fix(NcAppContent): don't remove list when showing details in mobile or no-split mode
Signed-off-by: Wolfgang <github@linux-dude.de>
1 parent 4940c16 commit c2832fa

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/NcAppContent/NcAppContent.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,13 @@ The list size must be between the min and the max width value.
6767
'app-content-wrapper--show-list': !showDetails,
6868
'app-content-wrapper--mobile': isMobile,}">
6969
<NcAppDetailsToggle v-if="showDetails" @click.native.stop.prevent="hideDetails" />
70-
<slot v-if="!showDetails" name="list" />
70+
<div v-show="!showDetails">
71+
<slot name="list" />
72+
</div>
7173

72-
<slot v-else />
74+
<div v-if="showDetails">
75+
<slot />
76+
</div>
7377
</div>
7478
<div v-else-if="layout === 'vertical-split' || layout === 'horizontal-split'" class="app-content-wrapper">
7579
<Splitpanes :horizontal="layout === 'horizontal-split'"

0 commit comments

Comments
 (0)