Skip to content

Commit

Permalink
fix(NcAppContent): don't remove list when showing details in mobile o…
Browse files Browse the repository at this point in the history
…r no-split mode

Signed-off-by: Wolfgang <github@linux-dude.de>
  • Loading branch information
wofferl committed Jan 11, 2025
1 parent 4940c16 commit c2832fa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/NcAppContent/NcAppContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@ The list size must be between the min and the max width value.
'app-content-wrapper--show-list': !showDetails,
'app-content-wrapper--mobile': isMobile,}">
<NcAppDetailsToggle v-if="showDetails" @click.native.stop.prevent="hideDetails" />
<slot v-if="!showDetails" name="list" />
<div v-show="!showDetails">
<slot name="list" />
</div>

<slot v-else />
<div v-if="showDetails">
<slot />
</div>
</div>
<div v-else-if="layout === 'vertical-split' || layout === 'horizontal-split'" class="app-content-wrapper">
<Splitpanes :horizontal="layout === 'horizontal-split'"
Expand Down

0 comments on commit c2832fa

Please sign in to comment.