Skip to content

Commit

Permalink
categories appear on mobile screen
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanOXDi committed Feb 6, 2025
1 parent 4b993e4 commit 33835e9
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,15 @@
</div>
<!-- When accordion mode is NOT activated, show as KModal, otherwise, just a div -->
<component
:is="accordion ? 'div' : 'KModal'"
v-if="windowIsLarge && currentCategory"
:is="accordion || !windowIsLarge ? 'div' : 'KModal'"
v-if="currentCategory"
appendToOverlay
:title="$tr('chooseACategory')"
:cancelText="coreString('closeAction')"
size="large"
@cancel="currentCategory = null"
>
<CategorySearchModal
v-if="currentCategory"
ref="searchModal"
:class="windowIsLarge ? '' : 'drawer-panel'"
:selectedCategory="currentCategory"
Expand Down

0 comments on commit 33835e9

Please sign in to comment.