Skip to content

Commit

Permalink
fix: cypress issue
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Trovic <[email protected]>
  • Loading branch information
luka-nextcloud authored and backportbot-nextcloud[bot] committed Nov 14, 2023
1 parent 0e02ec9 commit 5bf724e
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,19 @@
<router-view />
</NcAppContent>

<NcModal v-if="cardDetailsInModal && $route.params.cardId"
:clear-view-delay="0"
:close-button-contained="true"
size="large"
@close="hideModal()">
<div class="modal__content modal__card">
<router-view name="sidebar" />
</div>
</NcModal>

<router-view v-if="!cardDetailsInModal" name="sidebar" />
<div v-if="$route.params.id || $route.params.cardId">
<NcModal v-if="cardDetailsInModal && $route.params.cardId"
:clear-view-delay="0"
:close-button-contained="true"
size="large"
@close="hideModal()">
<div class="modal__content modal__card">
<router-view name="sidebar" />
</div>
</NcModal>

<router-view name="sidebar" :visible="!cardDetailsInModal || !$route.params.cardId" />
</div>
</NcContent>
</template>

Expand Down

0 comments on commit 5bf724e

Please sign in to comment.