Skip to content

Commit

Permalink
Merge pull request #8873 from marcellamaki/fix-list-grid-toggle
Browse files Browse the repository at this point in the history
Update || to && for conditions for toggling card styles
  • Loading branch information
rtibbles authored Dec 8, 2021
2 parents 34bae4a + 94c8c49 commit d7ee06f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="content-grid">
<KFixedGrid
v-if="numCols !== null && (cardViewStyle === 'card' || !windowIsSmall)"
v-if="numCols !== null && cardViewStyle === 'card' && !windowIsSmall"
:numCols="numCols"
gutter="24"
>
Expand Down

0 comments on commit d7ee06f

Please sign in to comment.