Skip to content

Commit 17630ba

Browse files
authored
Merge pull request #6261 from wofferl/fix_appcontent_list
fix(NcAppContent): don't remove list when showing details in mobile or no-split mode
2 parents 75762f2 + c27d399 commit 17630ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/NcAppContent/NcAppContent.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ export default {
107107
'app-content-wrapper--mobile': isMobile,}">
108108
<NcAppDetailsToggle v-if="showDetails" @click.native.stop.prevent="hideDetails" />
109109

110-
<slot v-if="!showDetails" name="list" />
111-
<slot v-else />
110+
<div v-show="!showDetails">
111+
<slot name="list" />
112+
</div>
113+
<slot v-if="showDetails" />
112114
</div>
113115
<div v-else-if="layout === 'vertical-split' || layout === 'horizontal-split'" class="app-content-wrapper">
114116
<Splitpanes :horizontal="layout === 'horizontal-split'"

0 commit comments

Comments
 (0)